Show Menu
Cheatography

HTML Cheat Sheet (DRAFT) by

HTML Cheatsheet for beginner, just starting HTML course

This is a draft cheat sheet. It is a work in progress and is not finished yet.

Basic text management

<h1­><>
Header big
<h2­><>
Header medium
<h3­><>
Header small
<p>­<>
Paragraph
<a>­<>
anchor, [href]
<ma­in>­<>
main section inside <bo­dy>
<he­ad>­<>
Title and things
<bo­dy>­<>
Lo mas importante
<fo­otn­ote­><>
Shelf explan­atory
 

General management

<fi­eld­set­><>
Reserved space
<se­cti­on>­<>
Section differ­ent­ation
<fo­rm>­<>
Create a form
<ol­><>
Organized list
<ul­><>
Unorga­nized list

Data connection

<la­bel­><>
Assign text to elements [for ={id}]
rem
units of font size, can be used inside as margin: 0.5rem 0
<in­put>
[type = {text,­ema­il,­pas­swo­rd,­sub­mit­,ra­dio}, id ={} requiredm minlen­gth­={int}, pattern = {regex}, name ={}]
 

Progra­mming things

<ht­ml>­<>
begin file
<!D­OCTYPE html>
Mark html reading
<me­ta>
metadata [len]