Please enable JavaScript.
Coggle requires JavaScript to display documents.
1-5 html & css - Coggle Diagram
1-5 html & css
text
headings: <h1>
paragraphs: <p>
long quotes: <blockquote>
short quotes: <q>
bold: <b>
italic: <i>
superscript: <sup>
subscript: <sub>
acronyms: <abbr>
line break: <br />
horizontal rules: <hr />
strong: <strong>
emphasis: <em>
citations: <cite>
definitions: <dfn>
email/phone: <address>
deleted text: <del> / <s>
inserted text: <ins>
lists
ordered lists: <li> ⊂ <ol>
unordered lists: <li> ⊂ <ul>
definition lists: <dd> ⊂ <dt> ⊂ <dl>
Lists can be nested inside one another
links
<a> element contain href attribute to indicate the page is linked
use "mailto" value to link a mail address
use "id" attribute to target to other elements
use "target" value to open links in a new window
structure
tags come in pairs (opening & closing)
HTML uses tags to give information
opening tags can carry attributes (name + value)
images
use <img> element with attributes to add image
src: target to the file contain the image
alt: describes the content of the image
height/width: specifies the height/width of the image in pixels
align + value: aligns the images horizontally/vertically
use <figure> element to contain images and their caption
use <figcaption> element to add a caption