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

HTML5 Tags

HTML TAGS basic info for newbie

Uploaded by

usmanrafiq877
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
11 views

HTML5 Tags

HTML TAGS basic info for newbie

Uploaded by

usmanrafiq877
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

1.

Document Structure:

• <!DOCTYPE html>: Document type declaration.

• <html>: Root element.

• <head>: Contains meta-information about the document.

• <title>: Sets the title of the document.

• <meta>: Provides metadata about the HTML document.

• <link>: Defines relationships between documents.

• <style>: Contains style information for a document.

• <script>: Embeds or refers to external scripts.

• <noscript>: Defines content to be displayed if scripting is not supported.

2. Sectioning Elements:

• <header>: Represents a group of introductory or navigational aids.

• <footer>: Defines a footer for a section or page.

• <nav>: Defines navigation links.

• <article>: Represents an independent piece of content.

• <section>: Defines a section in a document.

• <aside>: Represents content that is tangentially related to the content around it.

• <main>: Represents the main content of the document.

3. Grouping Content:

• <div>: Defines a division or a section in an HTML document.

• <span>: Defines an inline container.

4. Text Content:

• <p>: Defines a paragraph.

• <br>: Represents a line break.

• <hr>: Represents a thematic break between paragraphs.

• <a>: Defines a hyperlink.

• <em>: Represents emphasized text.

• <strong>: Represents strong importance or seriousness.

• <small>: Represents small print text.


• <mark>: Represents marked or highlighted text.

• <del>: Represents deleted text.

• <ins>: Represents inserted text.

• <sub>: Represents subscript text.

• <sup>: Represents superscript text.

• <abbr>: Represents an abbreviation or acronym.

• <cite>: Represents the title of a creative work.

• <code>: Represents a piece of computer code.

• <time>: Represents a specific period in time.

5. Lists:

• <ul>: Defines an unordered list.

• <ol>: Defines an ordered list.

• <li>: Defines a list item.

• <dl>: Defines a description list.

• <dt>: Defines a term in a description list.

• <dd>: Defines a description in a description list.

6. Forms:

• <form>: Defines an HTML form for user input.

• <input>: Defines an input field.

• <button>: Defines a clickable button.

• <select>: Defines a drop-down list.

• <textarea>: Defines a multiline input control.

• <label>: Defines a label for an input element.

• <fieldset>: Groups related elements in a form.

• <legend>: Defines a caption for a <fieldset> element.

• <datalist>: Contains a set of <option> elements for use with <input>'s list attribute.

7. Multimedia:

• <img>: Embeds an image.

• <audio>: Embeds sound content.


• <video>: Embeds video content.

• <source>: Specifies multiple media resources for <audio> or <video>.

8. Embedded Content:

• <iframe>: Represents an inline frame.

• <object>: Embeds external resources.

• <embed>: Embeds external content.

• <param>: Defines parameters for an <object> element.

9. Table Elements:

• <table>: Defines a table.

• <caption>: Represents the title of a table.

• <thead>, <tbody>, <tfoot>: Group header, body, and footer content in a table.

• <tr>: Defines a table row.

• <th>: Defines a header cell in a table.

• <td>: Defines a data cell in a table.

10. Interactive Elements:

• <details>: Represents a disclosure widget from which the user can obtain additional
information.

• <summary>: Defines a summary or caption for the content of a <details> element.

• <dialog>: Defines a dialog box or window.

11. Scripting:

• <canvas>: Used to draw graphics on the fly.

• <noscript>: Defines content to be displayed if scripting is not supported.

You might also like