All HTML5 Tags

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/28

flashcard set

Earn XP

Description and Tags

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

29 Terms

1
New cards

<!—…—>

Defines a comment. Synonymous to the # in Python.

2
New cards

<!DOCTYPE>

Declares the document type.

<!DOCTYPE html> = HTML5 document

3
New cards

<a>

Anchor: Defines a hyperlink.

4
New cards

<abbr>

Defines an abbreviation or an acronym.

<acronym> is no longer supported in HTML5, due to being redundant.

5
New cards

<acronym> #removed

Became redundant due to <abbr>.

6
New cards

<address>

Defines contact information for the author/owner of a document.

<p>Defines contact information for the author/owner of a document.</p>
7
New cards

<applet> #removed

While innovative at the time, the tag eventually fell out of favor due to security, compatibility, and technological advancements.

8
New cards

<area>

Defines a clickable area inside an image map.

<p>Defines a <strong>clickable area</strong> inside an image map.</p>
9
New cards

<article>

Specifies independent, self-contained content.

An article should make sense on its own and it should be possible to distribute it independently from the rest of the site.

Potential sources for the element:

  • Forum post

  • Blog post

  • News story

The element does not render as anything special in a browser.

10
New cards

<aside>

Defines some content aside from the content it is placed in. The aside content should be indirectly related to the surrounding content.

Tip: The content is often placed as a sidebar in a document.

<p>Defines some <strong>content aside from the content it is placed in</strong>. The aside content should be indirectly related to the surrounding content.</p><p>Tip: The content is often placed as a sidebar in a document.</p>
11
New cards

<audio>

Used to embed sound content in a document, such as music or other audio streams.

<p>Used to embed sound content in a document, such as music or other audio streams.</p>
12
New cards

<b>

Make some text bold (without marking it as important).

13
New cards

<base>

Specifies the base URL and/or target for all relative URLs in a document. The tag must have either an href or a target attribute present, or both.

There can only be one in a document, and it must be inside the <head> element.

14
New cards

<basefont> #removed

Removed from HTML5 because its functionality is better handled by Cascading Style Sheets (CSS).

15
New cards

<bdi>

BDI stands for Bi-Directional Isolation.

Isolates a part of text that might be formatted in a different direction from other text outside it.

This element is useful when embedding user-generated content with an unknown text direction.

<p>BDI stands for <strong>Bi-Directional Isolation</strong>.</p><p>Isolates a part of text that might be formatted in a different direction from other text outside it.</p><p>This element is useful when embedding user-generated content with an unknown text direction.</p>
16
New cards

<bdo>

BDO stands for Bi-Directional Override.

Is used to override the current text direction.

<p>BDO stands for <strong>Bi-Directional Override</strong>.</p><p>Is used to override the current text direction.</p>
17
New cards

<big> #removed

Removed from HTML5 because its functionality is better handled by Cascading Style Sheets (CSS).

18
New cards

<blockquote>

Specifies a section that is quoted from another source. Browsers usually indent it.

<p>Specifies a section that is quoted from another source. Browsers usually indent it.</p>
19
New cards

<body>

Defines the document's body.

20
New cards

<br>

Defines a single line break. Self-closing.

21
New cards

<button>

Defines a clickable button.

22
New cards

<canvas>

  • Used to draw graphics, on the fly, via scripting (usually JavaScript).

  • Is transparent, and is only a container for graphics, you must use a script to actually draw the graphics.

  • Any text inside the element will be displayed in browsers with JavaScript disabled and in browsers that do not support it.

<ul><li><p>Used to draw graphics, on the fly, via scripting (usually JavaScript).</p></li><li><p>Is transparent, and is only a container for graphics, you must use a script to actually draw the graphics.</p></li><li><p>Any text inside the element will be displayed in browsers with JavaScript disabled and in browsers that do not support it.</p></li></ul>
23
New cards

<caption>

Defines a table caption.

24
New cards

<center> #removed

Removed from HTML5 because its functionality is better handled by Cascading Style Sheets (CSS).

25
New cards

<cite>

Defines the title of a creative work (e.g. a book, a poem, a song, a movie, a painting, a sculpture, etc.). The text in the element usually renders in italic.

Note: A person's name is not the title of a work.

<p>Defines the title of a creative work (e.g. a book, a poem, a song, a movie, a painting, a sculpture, etc.). The text in the element usually renders in <em>italic</em>.</p><p>Note: A person's name is not the title of a work.</p>
26
New cards

<code>

Defines a piece of computer code. The content inside is displayed in the browser's default monospace font.

27
New cards

<col>

Specifies column properties for each column within a <colgroup> element.

<p>Specifies <strong>column</strong> properties for each column within a &lt;colgroup&gt; element.</p>
28
New cards

<colgroup>

Specifies a group of one or more columns in a table for formatting.

<p>Specifies a <strong>group</strong> of one or more <strong>columns</strong> in a table for formatting.</p>
29
New cards

<data>

Used to add a machine-readable translation of a given content.

<p>Used to add a machine-readable translation of a given content.</p>