HTML Basics simplified
HTML Basics simplified
o HTML is the foundation of every website. Even complex websites are built using HTML.
What is HTML?
A standardized system for tagging text files so browsers can display them correctly.
HTML Versions
o It’s simpler.
DOCTYPE Declaration
<!DOCTYPE html>
o Example:
<h1>This is a heading</h1>
<p>This is a paragraph.</p>
<p>This is a <b>paragraph</b>.</p>
3. Some tags don’t need closing – Like <br> (line break), <hr> (horizontal line), <img>.
<html>
<head>
<title>Page Title</title>
</head>
<body>
</body>
</html>
Structural Tags
Metadata Tags
Formatting Tags
Lists
Comments