HTML NOTES – CLASS 10 (CBSE)
HTML (Hyper Text Markup Language) is used to create web pages. It is not a programming
language but a markup language. Structure of HTML Document
<html>
<head><title>Title</title></head>
<body>Content</body>
</html> HTML Tags
Tags are instructions enclosed in angle brackets. Example: <p>Paragraph</p> Types of Tags
Paired tags: <b></b>
Unpaired tags: <br>, <hr> Formatting Tags
<b> Bold
<i> Italic
<u> Underline
<br> Line break
<hr> Horizontal line Headings
<h1> to <h6> are used for headings. Paragraph
<p> is used to create paragraphs. Attributes
Attributes give extra information to tags. Example: align, bgcolor, width, height. Lists
Ordered List: <ol>
Unordered List: <ul>
Description List: <dl> Tables
<table>, <tr>, <td>
rowspan – merge rows
colspan – merge columns Images
<img src="[Link]"> Hyperlinks
<a href="url">Link</a> Forms
<form> with input types like text, password, radio, checkbox. Comments
<!-- Comment --> Important Points
HTML is case insensitive.
HTML uses tags and attributes.
HTML files are saved with .html extension.