CBSE Class 10 (Code 165)
Unit 2: Complete HTML & CSS Practical Reference
1. Heading Tags (h1 to h6), Paragraphs (p), & Line Breaks
This is Heading 1 (h1)
This is Heading 2 (h2)
This is Heading 3 (h3)
This is Heading 4 (h4)
This is Heading 5 (h5)
This is Heading 6 (h6)
This is a standard paragraph element (p). Below this line, we use the break tag to jump directly to a new line without adding paragraph spacing.
Line One
Line Two (Separated by a br tag)
2. Text Styles, Fonts, and Lists
This text is Bold (b)
This text is Italic (i)
This text is Underlined (u)
This line is formatted using the legacy Font tag (face, size, color attributes).
Ordered List with Custom Attributes (type="I", start="5")
- First item displaying roman numeral five
- Second item
Unordered List with Custom Attribute (type="square")
- Square marker item
- Another square marker item
Description List (dl, dt, dd)
- HTML
- HyperText Markup Language used to create web pages.
- CSS
- Cascading Style Sheets used to style web layouts.
3. Images, Superscripts, and Subscripts
Mathematical representation using Superscript (sup): (a + b)2 = a2 + 2ab + b2
Chemical representation using Subscript (sub): The molecular formula of water is H2O.
4. Structural Tables (table, tr, th, td, rowspan, colspan)
| Class Schedule (Colspan Merge) | ||
|---|---|---|
| Day | Period 1 | Period 2 |
| Monday / Tuesday (Rowspan Merge) | Computer Applications | Mathematics |
| Science Lab | English Literature | |
5. Hyperlinks & Destinations (anchor tag, href, mailto, targets)
Significance of Linking: Allows seamless navigation between different web documents or sub-sections within the same document across the internet.
6. Embedded Audio and Video Elements
Embedded Audio File Instance:
Embedded Video File Instance:
RUonTop: Hi Welcome to our Blog...