What is HTML?
HTML (HyperText Markup Language) is the standard language for creating web pages. It describes the structure of a webpage using tags and elements.
Common HTML Elements
Below are some of the most commonly used HTML elements:
1. Headings
Headings are used to define titles and subtitles:
<h1>This is a Heading</h1>
2. Paragraphs
Use the <p> tag to create paragraphs:
<p>This is a paragraph.</p>
3. Links
Use the <a> tag to create hyperlinks:
<a href="https://example.com">Visit Example</a>
4. Images
Display images using the <img> tag:
<img src="image.jpg" alt="Description">
5. Lists
Create ordered and unordered lists:
<ul>
<li>Item 1</li>
<li>Item 2</li>
</ul>