Home Top Ad

Responsive Ads Here

Enlist various HTML elements and tags

Share:

 Here is a comprehensive list of HTML elements and tags:

Structural Elements

1. <!DOCTYPE html> - Document type declaration

2. <html> - Root element of the HTML document

3. <head> - Contains metadata about the document

4. <title> - Sets the title of the page

5. <body> - Contains the content of the HTML document


Headings

1. <h1> - Main heading

2. <h2> - Subheading

3. <h3> - Sub-subheading

4. <h4> - Sub-sub-subheading

5. <h5> - Sub-sub-sub-subheading

6. <h6> - Sub-sub-sub-sub-subheading


Text Elements

1. <p> - Paragraph

2. <span> - Inline container

3. <br> - Line break

4. <hr> - Horizontal rule

5. <pre> - Preformatted text

6. <code> - Code snippet

7. <kbd> - Keyboard input

8. <samp> - Sample output

9. <var> - Variable

10. <abbr> - Abbreviation

11. <address> - Contact information

12. <b> - Bold text

13. <i> - Italic text

14. <u> - Underlined text

15. <s> - Strikethrough text

16. <del> - Deleted text

17. <ins> - Inserted text

18. <mark> - Highlighted text

19. <ruby> - Ruby annotation

20. <rt> - Ruby text

21. <rp> - Ruby parenthesis


Lists

1. <ul> - Unordered list

2. <ol> - Ordered list

3. <li> - List item

4. <dl> - Definition list

5. <dt> - Definition term

6. <dd> - Definition description


Links

1. <a> - Anchor (link)

2. <link> - Link to external stylesheet or script


Images

1. <img> - Image

2. <figure> - Figure (image with caption)

3. <figcaption> - Figure caption


Tables

1. <table> - Table

2. <tr> - Table row

3. <td> - Table data cell

4. <th> - Table header cell

5. <caption> - Table caption

6. <col> - Table column

7. <colgroup> - Table column group

8. <thead> - Table header

9. <tbody> - Table body

10. <tfoot> - Table footer


Forms

1. <form> - Form

2. <input> - Form input field

3. <textarea> - Form textarea

4. <select> - Form dropdown menu

5. <option> - Form option

6. <button> - Form button

7. <label> - Form label

8. <fieldset> - Form fieldset

9. <legend> - Form legend

10. <output> - Form output


Semantic Elements

1. <header> - Header section

2. <nav> - Navigation section

3. <main> - Main content section

4. <section> - Section

5. <article> - Article

6. <aside> - Aside

7. <footer> - Footer section

8. <details> - Details element

9. <summary> - Summary element

10. <dialog> - Dialog element


Multimedia

1. <audio> - Audio element

2. <video> - Video element

3. <source> - Media source

4. <track> - Media track

5. <canvas> - Canvas element

6. <embed> - Embed element (deprecated)


Interactive Elements

1. <button> - Button element

2. <input> - Input element

3. <select> - Select element

4. <textarea> - Textarea element

5. <label> - Label element

6. <fieldset> - Fieldset element

7. <legend> - Legend element

8. <output> - Output element


Deprecated Tags

1. <font> - Font element (deprecated)

2. <center> - Center element (deprecated)

3. <strike> - Strike element (deprecated)

4. <applet> - Applet element (deprecated)

5. <embed> - Embed element (deprecated)

6. <object> - Object element (deprecated)

7. <param> - Param element (deprecated)


Note: This list is not exhaustive, but it covers most of the common HTML elements and tags.

Post a Comment

No comments

Welcome to saveracom.blogspot.com

Data Science using Spreadsheet Software Assignment 3

Printing Workbooks select the cells you want to print and then set that area as the print area   Steps to set a print area: Select the cells...