Difference between revisions of "Body tag"

From Market Ruler Help
Jump to: navigation, search
(Created page with "Body tags are part of the basic structure of an HTML document: <pre><html>...</html> <head>...</head> <body>...</body></pre> Body tags define the document's body. They cre...")
 
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
Body tags are part of the basic structure of an [[HTML]] document:
+
Body tags are part of the basic structure of an [[HTML]] document. They define the document's body and create a container for the displayable content.
 +
 
 +
Document structure elements:
 
<pre><html>...</html>
 
<pre><html>...</html>
 
<head>...</head>
 
<head>...</head>
 
<body>...</body></pre>
 
<body>...</body></pre>
Body tags define the document's body. They create a container for the displayable content of an [[HTML]] document.
 
  
 
The following example shows a very simple HTML document:
 
The following example shows a very simple HTML document:
Line 23: Line 24:
 
* [https://www.w3schools.com/html/html_basic.asp W3Schools] offers an excellent HTML tutorial and reference
 
* [https://www.w3schools.com/html/html_basic.asp W3Schools] offers an excellent HTML tutorial and reference
  
[[Category:Acronym]]
 
 
[[Category:Technical]]
 
[[Category:Technical]]
 
[[Category:Glossary]]
 
[[Category:Glossary]]

Latest revision as of 17:58, 10 July 2020

Body tags are part of the basic structure of an HTML document. They define the document's body and create a container for the displayable content.

Document structure elements:

<html>...</html>
<head>...</head>
<body>...</body>

The following example shows a very simple HTML document:

<html>
<head>
<title>A simple document</title>
</head>
<body>
<h1>Welcome to my page!</h1>
<p>Greetings and Salutations!</p>
<p>Please visit my <a href="/blog">Blog</a>, or send me an <a href="mailto:email@example.com">email</a>.</p>
<p>Come back soon!</p>
</body>
</html>

To learn more

  • W3Schools offers an excellent HTML tutorial and reference