HTML Flashcards
What’s an HTML Element ?
An HTML element is defined by a start tag, some content, and an end tag.
What are additional informations written in the HTML tag called ?
HTML Attributes.
What is formatting for ?
Accessibility
<b>
<em>
<i>
<small>
<strong>
<ins>
<del>
<mark></mark></del></ins></strong></small></i></em></b>
Defines bold text
Defines emphasized text
Defines a part of text in an alternate voice or mood
Defines smaller text
Defines important text
Defines subscripted text
Defines superscripted text
Defines inserted text
Defines deleted text
Defines marked/highlighted text
<bdo></bdo>
<blockquote>
<address>
<abbr>
</abbr></address></blockquote>
Defines the text direction
Defines a section that is quoted from another source
Defines contact information for the author/owner of a document
Defines an abbreviation or acronym
rel = ?
stylesheet or icon
<div>
<span>
</span></div>
Defines a section in a document (block-level)
Defines a section in a document (inline)
AAAAAAAAALT
ALT
<meta></meta>
Define keywords for search engines:
<meta></meta>
Set viewport
What is the <base></base> element ?
The <base></base> element specifies the base URL and/or target for all relative URLs in a page.
(exemple: relative path)
What is the <head> element ?
The <head> element is a container for metadata (data about data)
<header>
<nav>
<section>
<article>
<aside> - Defines content aside from the content (like a sidebar)
<footer> - Defines a footer for a document or a section
<details> - Defines additional details that the user can open and close on demand
<summary> - Defines a heading for the <details> element
</details></summary></details></footer></aside></article></section></nav></header>
Defines a header for a document or a section
Defines a set of navigation links
Defines a section in a document
Defines an independent, self-contained content
Defines content aside from the content (like a sidebar)
Defines a footer for a document or a section
Defines additional details that the user can open and close on demand
Defines a heading for the <details> element</details>
Why do we have to replace reserved characters?
Reserved characters in HTML must be replaced with character entities. (exemple: &entity_name;) so that the computer doesn’t confuse it with a tag.
What can UTF-8 alphabet display with #code ?
characters, emojis, symbols …