0% found this document useful (0 votes)
14 views7 pages

Skyrims HTML

Uploaded by

Kassem Hassan
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)
14 views7 pages

Skyrims HTML

Uploaded by

Kassem Hassan
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/ 7

HTML

1|Page | www.skyrims.com | 08030439843


Important HTML
 Document Structure: <!DOCTYPE html>, <html>, <head>, <title>,
<body>
 Headings and Text: <h1>, <h2>, <h3>, <h4>, <h5>, <h6>, <p>, <b>,
<i>
 Lists: <ul>, <ol>, <li>
 Links and Images: <a>, <img>
 Multimedia: <audio>, <video>
 Tables: <table>, <tr>, <td>, <th>
 Forms: <form>, <input>, <label>, <button>
 Divisions and Spans: <div>, <span>
 Semantic HTML: <header>, <footer>, <nav>, <section>, <article>

Document Structure
 <!DOCTYPE html>: Document type declaration
 <html>: Root element of an HTML document
 <head>: Container for metadata (data about data)
 <title>: Document title (shown in the browser title bar or tab)
 <body>: Document body (contains the content of the document)
Headings and Text
 <h1>, <h2>, <h3>, <h4>, <h5>, <h6>: Headings, from most
important (<h1>) to least important (<h6>)
 <p>: Paragraph

2|Page | www.skyrims.com | 08030439843


 <b>: Bold text
 <i>: Italic text
 <strong>: Important text (usually displayed in bold)
 <em>: Emphasized text (usually displayed in italic)
 <br>: Line break
 <hr>: Thematic break (horizontal rule)
 <small>: Smaller text
 <mark>: Marked (highlighted) text
 <sub>: Subscript text
 <sup>: Superscript text
 <ins>: Inserted text
 <del>: Deleted text
 <blockquote>: Block quotation
 <q>: Inline quotation
 <cite>: Citation
 <code>: Inline code
 <pre>: Preformatted text
Lists
 <ul>: Unordered list
 <ol>: Ordered list
 <li>: List item
 <dl>: Description list

3|Page | www.skyrims.com | 08030439843


 <dt>: Description term
 <dd>: Description definition
Links and Images
 <a>: Anchor (link)
 <img>: Image
 <map>: Image map
 <area>: Area inside an image map
 <figure>: Self-contained content, like images, diagrams,
illustrations
 <figcaption>: Caption for a <figure> element
Multimedia
 <audio>: Audio content
 <video>: Video content
 <source>: Media source for <audio> or <video>
 <track>: Text tracks for <video> (subtitles, captions)
 <embed>: Embedded content (e.g., plugin content)
 <object>: Container for external content
 <param>: Parameters for <object>
 <iframe>: Inline frame (used to embed another document within
the current HTML document)
Tables
 <table>: Table
 <tr>: Table row
4|Page | www.skyrims.com | 08030439843
 <td>: Table data cell
 <th>: Table header cell
 <thead>: Table header group
 <tbody>: Table body group
 <tfoot>: Table footer group
 <col>: Column properties for a table
 <colgroup>: Grouping of columns in a table
 <caption>: Table caption
Forms
 <form>: Form
 <input>: Input field
o Types include: text, password, submit, reset, radio,
checkbox, button, color, date, datetime-local, email, file,
hidden, image, month, number, range, search, tel, time, url,
week
 <label>: Label for an input element
 <button>: Button
 <select>: Drop-down list
 <option>: Option in a drop-down list
 <textarea>: Multi-line text input
 <fieldset>: Grouping related elements in a form
 <legend>: Caption for a <fieldset>
 <datalist>: List of predefined options for an input

5|Page | www.skyrims.com | 08030439843


 <optgroup>: Group of options in a drop-down list
 <output>: Output result
Divisions and Spans
 <div>: Division (block-level)
 <span>: Span (inline)
Semantic HTML
 <header>: Header section
 <footer>: Footer section
 <nav>: Navigation links
 <section>: Section
 <article>: Article
 <aside>: Content aside from the main content
 <main>: Main content area
 <figure>: Figure with optional caption
 <figcaption>: Caption for a <figure>
 <address>: Contact information
 <time>: Date and/or time
Metadata and Scripting
 <meta>: Metadata about an HTML document
 <link>: Relationship between the document and an external
resource (e.g., stylesheet)
 <style>: Internal CSS

6|Page | www.skyrims.com | 08030439843


 <script>: JavaScript
 <noscript>: Fallback content for browsers that do not support
scripting
 <base>: Base URL for relative URLs
Deprecated Elements (Avoid using these in modern HTML)
 <font>: Font styling (use CSS instead)
 <center>: Center alignment (use CSS instead)
 <big>: Large text (use CSS instead)
 <strike>: Strikethrough text (use <s> or <del> instead)

7|Page | www.skyrims.com | 08030439843

You might also like