0% found this document useful (0 votes)
6 views

HTML Tags

About HTML5 notes

Uploaded by

jilanilk2907
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views

HTML Tags

About HTML5 notes

Uploaded by

jilanilk2907
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 8

HTML tags and Description

1. <html>: The root element of an HTML document.

2. <head>: Contains meta-information about the document (e.g.,


title, links to stylesheets).

3. <title>: Sets the title of the document shown in the browser’s


title bar or tab.

4. <body>: Contains the content of the document, such as text,


images, and links.

5. <h1> to <h6>: Header tags, with <h1> being the largest and
<h6> the smallest.

6. <p>: Paragraph tag for blocks of text.

7. <a>: Anchor tag for hyperlinks.

<a href=https://example.com>Visit Example</a>


8. <img>: Tag for displaying images.

<img src=”image.jpg” alt=”Description of image”>

9. <ul>: Unordered list.

10. <ol>: Ordered list.

11. <li>: List item (used within <ul> or <ol>).

12. <div>: Division or container for grouping elements.

13. <span>: Inline container for styling a part of the text.

14. <br>: Line break for breaking lines.

15. <strong>: Makes text bold.


16. <em>: Emphasizes text (usually renders as italic).

17. <table>: Table tag for displaying tabular data.

18. <tr>: Table row.

19. <td>: Table data (cell).

20. <th>: Table header cell.

21. <form>: Tag for creating forms for user input.

22. <input>: Input field within a form.

23. <button>: Button element.

24. <label>: Label for form elements.


25. <textarea>: Multi-line text input field.

26. <header>: Represents introductory content or a group of


navigation links.

27. <footer>: Represents the footer for a document or a


section, often containing metadata or links.

28. <nav>: Used for a navigation section containing links to


other parts of the site.

29. <section>: Defines a section in the document.

30. <article>: Represents self-contained content that could


be independently distributed (e.g., a blog post).

31. <aside>: Used for content that is tangentially related to


the main content, like sidebars or callout boxes.

32. <main>: Specifies the main content of a document that is


unique to the page.
33. <figure>: Used for images, illustrations, or diagrams.

34. <figcaption>: Provides a caption for the <figure>


element.

35. <video>: Embeds a video on the page.

<video width=”320” height=”240” controls>

<source src=”video.mp4” type=”video/mp4”>

Your browser does not support the video tag.

</video>

36. <audio>: Embeds audio content.

<audio controls>

<source src=”audio.mp3” type=”audio/mpeg”>

Your browser does not support the audio element.

</audio>
37. <iframe>: Embeds another HTML page within the current
page.

<iframe src=https://example.com width=”600”


height=”400”></iframe>

38. <details>: Used to create a disclosure widget that the


user can open and close.

39. <summary>: Used as a summary or caption for the


<details> element.

40. <progress>: Displays a progress bar.

<progress value=”70” max=”100”>70%</progress>

41. <meter>: Displays a measurement within a range (e.g.,


disk usage).

<meter value=”0.6”>60%</meter>
42. <blockquote>: Used for long quotations, often with a
citation.

43. <code>: Represents a fragment of computer code.

44. <pre>: Displays preformatted text, maintaining


whitespace and line breaks.

45. <abbr>: Represents an abbreviation or acronym,


providing additional information.

<abbr title=”Hypertext Markup Language”>HTML</abbr>

46. <cite>: Represents the title of a creative work, like a


book or movie.

47. <mark>: Highlights text for reference purposes.

48. <s>: Indicates text that is no longer correct or relevant


(renders as strikethrough).
49. <sup>: Superscript text (e.g., exponents).

50. <sub>: Subscript text (e.g., chemical formulas).

51. <dl>: Definition list, used to group terms and


descriptions.

52. <dt>: Definition term.

53. <dd>: Definition description.

You might also like