IN THIS LECTURE WE LEARN HOW TO WRITE ANY THING IN HTML BOILER PLATE USING SOME TAGS
A SIMPLE HTML DOCUMENT
- WE USE HEADING TAGS TO DISPLAY SOMETHING LARGER OR Smaller
- <!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>FIRST HEADING</title>
</head><body> <h1>first heading</h1> <h2>second heading</h2> <h3>third heading</h3> <h4>forth heading</h4> <h5>fifth heading</h5> <h6>sixth heading</h6></body></html>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>FIRST HEADING</title>
</head>
<body>
<h1>first heading</h1>
<h2>second heading</h2>
<h3>third heading</h3>
<h4>forth heading</h4>
<h5>fifth heading</h5>
<h6>sixth heading</h6>
</body>
</html>
THIS IS THE OUTPUT
HEADING 1
HEADING 2
HEADING 3
HEADING 4
HEADING 5
HEADING 6
- already told that head tag is used in css
- Another most important thing is that in head tag a TITLE TAG is given by default
*TITLE TAG*
- Title tag has an opening and a closing tag.
- like this :<TITLE>document name</TITLE>.
- In a title tag we write the name of our website we want to create.
No comments:
Post a Comment