HTML/CSS Memo: Difference between revisions

From XPUB & Lens-Based wiki
(Created page with "{| class="wikitable sortable" |+ Caption text |- ! Human Language !! HTML Tag |- | html document || <htm></html> |- | metadata (title, link to css and script etc) || <head></head> |- | Content of the page || <body></body> |- | Section || <section></section> |- | Container (it can contain text, images, sound)|| <div></div> |- | Headline || <h1></h1> (h2, h3, h4, h5, h6) |- | Paragraph || <p></p> |- | Word wrapper || <span></span> |- | Link || <a href="[url here]">[link ti...")
 
No edit summary
Line 4: Line 4:
! Human Language !! HTML Tag
! Human Language !! HTML Tag
|-
|-
| html document || <htm></html>
| html document || <nowiki><htm></html></nowiki>
|-
|-
| metadata (title, link to css and script etc) || <head></head>
| metadata (title, link to css and script etc) || <nowiki><head></head></nowiki>
|-
|-
| Content of the page || <body></body>
| Content of the page || <nowiki><body></body></nowiki>
|-
|-
| Section || <section></section>
| Section || <section></section>
Line 17: Line 17:
|-
|-
| Paragraph || <p></p>
| Paragraph || <p></p>
|-
| Linebreak || <br> or </br>
|-
|-
| Word wrapper || <span></span>
| Word wrapper || <span></span>
Line 28: Line 30:
| Video || <video src="[file path here]" controls loop></video>
| Video || <video src="[file path here]" controls loop></video>
|-
|-
| Example || Example
| Unordered List || <ul></ul>
|-
| Example || Example
|-
| Example || Example
|-
| Example || Example
|-
| Example || Example
|-
| Example || Example
|-
| Example || Example
|-
| Example || Example
|-
| Example || Example
|-
| Example || Example
|-
| Example || Example
|-
|-
| Example || Example
| Ordered List || <ol></ol>
|-
|-
| Example || Example
| List Item || <li></li>
|-
|-
| Example || Example
| Button || <button></button>
|-
|-
| Example || Example
| Table || <table></table>
|-
|-
| Example || Example
| Table Row || <tr></tr>
|-
|-
| Example || Example
| Table Cell || <td></td>
|-
|-
| Example || Example
| Column Header || <th></th>
|-
|-
| Example || Example
|}
|}

Revision as of 14:52, 7 November 2024

Caption text
Human Language HTML Tag
html document <htm></html>
metadata (title, link to css and script etc) <head></head>
Content of the page <body></body>
Section <section></section>
Container (it can contain text, images, sound)
Headline

(h2, h3, h4, h5, h6)
Paragraph

Linebreak
or
Word wrapper
Link <a href="[url here]">[link title here]</a>
Image [alternative text]
Audio <audio src="[file path here]" controls></audio>
Video <video src="[file path here]" controls loop></video>
Unordered List
    Ordered List
      List Item
    1. Button <button></button>
      Table
      Table Row
      Table Cell
      Column Header