HTML Flashcards
HTML
Hyper Text Markup Language
Tag
Keyword
Container Tags
One Shot Tags
Container Tags
… (Start and end)
Most tags
One Shot Tags
No closing only
Basic Code for HTML Webpage
…
.
.
.
<!-- Comment-->
Not displayed on a webpage browser.
Intended to help the person who reads the code
Title
Displayed on top of browser
Body
Displays everything that is on the page
Always only 1 body and 1 head
Unordered List
<ul>
<li>...</li>
</ul>
Ordered list
<ol>
<li>..</li>
</ol>
Image
(left is default)
One shot tag
Solid Line
<hr></hr>
(one shot tag)
Attributes: color (#RRGGBB Hexa code), alight (center default, right, left), size (thickness), width (of the page in pixels or percent)
Special Symbols
< (less than)
> (greater than)
≤ (less equal)
≥ (greater equal)
Headers
h1…h6
no need to us <p>, <b>
attribute align</b>
Alignment
<p>...</p>
or <div>…</div> - can contain many paragraphs (bigger sections)
attribute: align (c, l, r)