HTML Heading Tags Explain Structure
Html Heading tag
HTML headings define headings in a document.
html heading tag <H1> to <H6> use to define heading or
, a title for different sections of your web page.
6 HTML heading tags are the <h1> most important and <h6> is less important.
<h1>
<h2>
<h3>
<h4>
<h5>
<h6>
HTML Heading Tags Explain Structure
<!DOCTYPE html>
<html><body>
<h1>Heading 1</h1>
<h2>Heading 2</h2>
<h3>Heading 3</h3>
<h4>Heading 4</h4>
<h5>Heading 5</h5>
<h6>Heading 6</h6>
</body>
<h1>Heading 1</h1>
<h2>Heading 2</h2>
<h3>Heading 3</h3>
<h4>Heading 4</h4>
<h5>Heading 5</h5>
<h6>Heading 6</h6>
</body>
</html>
HTML Heading Tags Explain Structure
Explain Program
Step 1 ]
<!DOCTYPE html>
- document type declaration.
- browser help this is an HTML5 document.
<!DOCTYPE html>
- document type declaration.
- browser help this is an HTML5 document.
Step 2 ]
<html> ... </html>
- root element of the HTML document.
- <html> tag is part of the web page.
<html> ... </html>
- root element of the HTML document.
- <html> tag is part of the web page.
Step 3 ]
<body> ... </body>
- HTML document that holds visible content on the page.
- anything contains type inside <body> will be display the browser
<body> ... </body>
- HTML document that holds visible content on the page.
- anything contains type inside <body> will be display the browser
No comments:
Post a Comment