HTML Heading
Headings are defined with <h1> to <h6>.
The <h1> the is the most important and <h6> is the list important.
Example:
The HTML Heading is important because heading are used by search engine to determine the content of a webpage and index it's structure.
Try this:
<html>
<head>
<title> Heading</title>
</head>
<body>
<h1>heading1</h1>
<h2>heading2</h2>
<h3>heading3</h3>
<h4>heading4</h4>
<h5>heading5</h5>
<h6>heading6</h6>
</body>
</html>
*copy and paste them and save as a .html file.
The <head> Element
The <head> element contains meta data which are not displayed in the browser.Example:
<head>
<meta charset="UTF-8">
<meta name="description" content="Computer Science Student notes">
<meta name="keywords" content="HTML,CSS,XML,JavaScript">
<meta name="author" content="Lorenz G.">
</head>
The <meta> tag give meta data of HTML. Meta data data is not visible, but is machine readable.Meta elements are used to specify page description, keyword, author of document, last modified and other metadata.
No comments:
Post a Comment