HTML
HTML
11 February 2025
05:05 PM
• HTML - Structure/Layout
LEVEL - 1
• First line - !
HTML Tag
</head>
</body>
</html>
Quick Points
• Most of html elements have opening & closing tags with content in between
Comments in HTML
<!-- This is an HTML Comment -->
LEVEL - 2
• HTML Attributes
<html lang="en">
• Heading Tag
h1 (most important)
h2
h3
h4
h5
h6 (least important)
• Paragraph Tag
• Anchor Tag
• Image Tag
• Br Tag
• Hr Tag
• Pre Tag
<pre> This
is a sample
text.
</pre>
LEVEL - 3
- <header>
- <main>
- <footer>
• Div Tag
• Span Tag
Container used for other HTML elements
LEVEL - 4
• List in HTML
<ul>
</ul>
<ol>
</ol>
• Tables in HTML
• Caption in Tables
• Forms in HTML
<form>
Form content
</form>
<form action="/action.php">
</form>
• Action in Form
<form action="/action.php">
• Label
<label for="id1">
</label>
• Class & Id
</div>
• Checkbox
<label for="id1">
</label>
• Text Area
• Select
</select>
• iframe Tag
• Video Tag
Attributes
- controls
- height
- width
- loop
- autoplay