HTML code Element
HTML elements are the building blocks of an HTML document. They are represented by tags, which are surrounded by angle brackets (< >). HTML elements typically consist of a start tag, content, and an end tag.
Here are some common HTML elements:
1. *Headings*: `<h1>, <h2>, <h3>, <h4>, <h5>, <h6>`
2. *Paragraph*: `<p>`
3. *Link*: `<a>`
4. *Image*: `<img>`
5. *List*: `<ul>, <ol>, <li>`
6. *Div*: `<div>`
7. *Span*: `<span>`
8. *Form*: `<form>`
9. *Input*: `<input>`
10. *Table*: `<table>, <tr>, <td>`
11. *Header*: `<header>`
12. *Footer*: `<footer>`
13. *Navigation*: `<nav>`
14. *Main*: `<main>`
15. *Section*: `<section>`
These elements are used to define different parts of a web page, such as headings, paragraphs, images, links, forms, tables, and more.
HTML elements can also have attributes, which provide additional information about the element. For example:
```
<a href="(link unavailable)">Visit Example</a>
```
In this example, `href` is an attribute of the `<a>` element, which specifies the link URL.
0 टिप्पणियाँ