Premium Partner

HTML5

Learn more about the most common and some of the rare occurring tags. Including semantics.

Learn more about the most common and some of the rare occurring tags. Including semantics.


Kartei Details

Karten 9
Sprache English
Kategorie Informatik
Stufe Universität
Erstellt / Aktualisiert 11.10.2018 / 11.10.2018
Lizenzierung Kein Urheberrechtsschutz (CC0)
Weblink
https://card2brain.ch/box/20181011_html5
Einbinden
<iframe src="https://card2brain.ch/box/20181011_html5/embed" width="780" height="150" scrolling="no" frameborder="0"></iframe>

Computed styles of a span

display: inline

Semantic meaning of a span

The HTML <span> element is a generic inline container for phrasing content, which does not inherently represent anything. It can be used to group elements for styling purposes (using the class or id attributes), or because they share attribute values, such as lang. It should be used only when no other semantic element is appropriate. <span> is very much like a <div> element, but <div> is a block-level element whereas a <span> is an inline element.

Computed styles of a strong element

font-weight: bold

What is the semantic meaning for the strong element?

The HTML Strong Importance Element (<strong>) indicates that its contents have strong importance, seriousness, or urgency. Browsers typically render the contents in bold type.

What is the semantic meaning of the em element?

The <em> element is for words that have a stressed emphasis compared to surrounding text, which is often limited to a word or words of a sentence and affects the meaning of the sentence itself.

Typically this element is displayed in italic type. However, it should not be used simply to apply italic styling.

Computed styles of an em element.

font-style: italic.

What is the abbr tag for?

The HTML Abbreviation element (<abbr>) represents an abbreviation or acronym; the optional title attribute can provide an expansion or description for the abbreviation. If present, title must contain this full description and nothing else.

What is the mark element for?

The HTML Mark Text element (<mark>) represents text which is marked or highlighted for reference or notation purposes, due to the marked passage's relevance or importance in the enclosing context.

Use this more or less only for to mark the most relevant search result!