0 added
0 removed
Original
2026-01-01
Modified
2026-03-09
1
<p>OK, so now we have figured out the doctype. Now let’s start working directly on the content.</p>
1
<p>OK, so now we have figured out the doctype. Now let’s start working directly on the content.</p>
2
<p>The very simplest HTML page consists of at least three tags: <html>, <head> and <body>.</p>
2
<p>The very simplest HTML page consists of at least three tags: <html>, <head> and <body>.</p>
3
<p>The <html> tag follows immediately after the doctype declaration in the document and contains all other tags, including <head> and <body>. Usually, the important attribute lang (an abbreviation for “language”) is added to the <html> tag. It specifies the main human language of the document. Our website will be in English, so we should indicate the following value for lang:</p>
3
<p>The <html> tag follows immediately after the doctype declaration in the document and contains all other tags, including <head> and <body>. Usually, the important attribute lang (an abbreviation for “language”) is added to the <html> tag. It specifies the main human language of the document. Our website will be in English, so we should indicate the following value for lang:</p>
4
<html lang="en"><p>The <head> tag is used to store important<i>metadata</i>(data about the page that helps the browser display it), whereas the <body> tag contains webpage content that is displayed in the browser window. We will add all text and images inside the <body> tag. The head and body tags may only be used once inside a document.</p>
4
<html lang="en"><p>The <head> tag is used to store important<i>metadata</i>(data about the page that helps the browser display it), whereas the <body> tag contains webpage content that is displayed in the browser window. We will add all text and images inside the <body> tag. The head and body tags may only be used once inside a document.</p>
5
<p>Let’s start working on the template for the main page of our website!</p>
5
<p>Let’s start working on the template for the main page of our website!</p>
6
<p>You can assign the attribute lang to any tags if you need to specify the particular language of the text enclosed by the tags. But if you specify this attribute for the <html> tag, then the attribute will be applied to the entire document.</p>
6
<p>You can assign the attribute lang to any tags if you need to specify the particular language of the text enclosed by the tags. But if you specify this attribute for the <html> tag, then the attribute will be applied to the entire document.</p>