HTML Resume
HTML Resume
DOM
(Document Object Model)
The hierarchy and structure of HTML elements, often used for targeting elements in CSS
and JavaScript
tags
<p> paragraphs
<h1> cabeçalho (vai até o 6)
<article> article
<small> small meaning (for copyright for example)
non-breaking space
<div> to create sections (block-level element)
<span>( inline element)
<main> wraps around the main content of the page
<header> wraps headers in the content
<footer> wraps footers in the content
<article> wrapped around any instance of an article
<section> wraps around sections of content
<aside> marks content that is off to the side or not the main attraction
lists
quotes
<q>
<blockquote>
<cite>
<time>
attribute:
<time datetime=”YYYY-MM-DD”>
“HH-MM-SS.DD”
code
simbols
<sub> subscripts
<sup> superscripts
Attributes
global attributes
can be applied to any HTML element
● CLASS
<p class=”intro”>
● ID
<p class=”intro” id=”article-intro”>
● ARIA ROLES (attributes that provide accessible information about that specific
element)
<h1 aria-label=”hello word”>
<div class=”grid” aria-hidden=”true”>
links
<a href=”https://example.com”>
images
responsive images
<picture>
srcset=” , “
<img src=” ” alt=” “ width=” ” height=” “>
480 px => 960 px => 1440px => 1920px
audio
you can let a message for the user in case of any type of audio load.
video
<video>
<label for=”color”>color</label>
<input name=”color” id=”color” type=”color”>
<label for=”file”>file</label>
<input id=”file” name=”file” type=”file” accept=”image/*” multiple>
<label for=”checkbox”>checkbox</label>
<input name=”simplecheckbox” id=”checkbox” value=”the
checkbox is checked” type=”checkbox” checked>
<fieldset>
<legend> radio buttons in a fieldset</legend>
<input id=”thisradio” name=”radiobutton” type=”radio”
value=”this”>
<button type=”submit”> sign up </button>
table