<h1>
to <h6> define headings.<p>
represents text content.<ul>
for unordered lists, <ol>
for ordered lists.<a href=“URL”>
creates hyperlinks.<img src=“image.jpg” alt=“Description”>
embeds images.<header>
: Represents introductory content.<section>
: Defines a thematic grouping of content.<article>
: Represents self-contained content.<aside>
: Contains related content.<footer>
: Represents footer content.HTML attributes provide additional information about elements:
<a href="https://example.com" target="_blank">Visit Example</a>
Common attributes include:
href
(for links)src
(for images)alt
(for accessibility) title
(provides tooltip text)