The different elements of HTML are:
1. Headings: These are used to define the headings of a document or section. Example:
This is a Heading
2. Paragraphs: These are used to define a paragraph in a document. Example:
This is a paragraph.
3. Links: These are used to link to other webpages or documents. Example: This is a link.
4. Images: These are used to add images to a webpage. Example:
5. Lists: These are used to create lists of items. Example:
- Item 1
- Item 2
- Item 3
6. Tables: These are used to create tables of data. Example:
Header 1 | Header 2 |
---|---|
Row 1, Column 1 | Row 1, Column 2 |
Row 2, Column 1 | Row 2, Column 2 |
7. Forms: These are used to create forms to collect user input. Example: