Thursday, December 31, 2020

Structure of HTML | Introduction to HTML | HTML Basics

 

 What Is HTML

Structure of HTML Introduction to html




HTML stands for Hypertext markup language , in html markup mean just marking the element on screen with its tags  there are some basic tags used to create complete structure of any page 
Html hag both Starting and Ending tags Some tags are use individually they don't Have Ending tags 
For Example <img> is tag which used to tag image but its does not use Ending tag  
The Structure of HTML is given bellow
<!DOCTYPE html>
<html>
<head>
    <meta charset='utf-8'>
    <meta http-equiv='X-UA-Compatible' content='IE=edge'>
    <title>Html Structure</title>
    <meta name='viewport' content='width=device-width, initial-scale=1'>
    <link rel='stylesheet' type='text/css' media='screen' href='main.css'>
    <script src='main.js'></script>
</head>
<body>
    
</body>
</html>
Tags And Explanation
<!DOCTYPE html>
This Tag is mention in the First line of the HTML document which shows the document file type
and help the purser to read the complete Document
<html>
This Is the starting Tag of Html which has a lot of other tags with their functions HTML has both stating and ending tag
its syntax is
<html> </html>
<head>
Head Section is basically meta section it has more other tags like linking to CSS
linking to JavaScript linking to bootstrap etc. it also has to start and end tags and it always
closed before body section
<head> here we put meta tags </head>

Thanks For Visiting My blog Next tags will explain in New Post
Stay Connected For More Information

0 comments:

Post a Comment