Does | Tags | Sintax | Closing Tag |
---|---|---|---|
Text Tags | |||
Creates a heading title | <h1> | <h1> This is a heading </h1> | Yes |
Creates Subheading titles | <h2> to <h6> | <h2> This is a Subheading </h2> | Yes |
Creates a new paragraph | <p> | <p>This is a pharagraph</p> | Yes |
Inserts a line break | <br> | <br> This is a line break | No |
Puts content in a quote - indents text from both sides | <blockquote> | <blockquote> "This is a quote" </blockquote> | Yes |
Creates a citation, usually processed in italics | <cite> | <cite> This is a cite </cite> | Yes |
Emphasizes a word (usually processed in italics) | <em> | <em> This text is in italics </em> | Yes |
Emphasizes a word (usually processed in bold) | <strong> | <strong> This text is in bold </strong> | Yes |
Formating | |||
Used to format block content with CSS | <div> | <div> This is a block with h1 p and other elements inside </div> | Yes |
Used to format inline content with CSS | <span> | <span> This text has been formated with css </span> | Yes |
Creates an unordered list | <ul> | <ul> -This -is an -unordered list</ul> |
Yes |
Creates an ordered list (start=xx, where xx is a counting number) | <ol start=xx> | <ol start= 3> 3- This 4- is an 5- ordered list</ol> |
Yes |
Encompasses each list item | <li> | <li>-This is</li> <li>-an unordered list</li> |
Yes |
Images | |||
Adds image; it is a separate file located at the URL | < img src = "URL"/ > | < img src = "https://this-is-an-image-link.com/ > | No |
Links | |||
Creates a hyperlink to a Uniform Resource Locator | < a > | < a href = "URL" > Clickable Text< a/> | Yes |
Creates a hyperlink to an email address | < a > | < a href = "mailto: email address" > Clickable Text< a/> | Yes |
Creates a target location within a document | < a > | < a name = "NAME" > Clickable Text< a/> | Yes |
Creates a target location within a document | < a > | < a href = "#NAME" > Clickable Text< a/> | Yes |
I know that i missed some tags, the idea was to recoppilate the main ones that i'll use on a daily.