Inline Text Semantics Flashcards

1
Q

Inline Text Semantics

A

Use the HTML inline text semantic to define the meaning, structure, or style of a word, line, or any arbitrary piece of text.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

a

A

The <a> HTML element (or anchor element), with its href attribute, creates a hyperlink to web pages, files, email addresses, locations in the same page, or anything else a URL can address.</a>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

abbr

A

The <abbr> HTML element 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.</abbr>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

b

A

The <b> HTML element is used to draw the reader’s attention to the element’s contents, which are not otherwise granted special importance. This was formerly known as the Boldface element, and most browsers still draw the text in boldface. However, you should not use <b> for styling text; instead, you should use the CSS font-weight property to create boldface text, or the strong element to indicate that text is of special importance.</b></b>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

bdi

A

The HTML element tells the browser’s bidirectional algorithm to treat the text it contains in isolation from its surrounding text. It’s particularly useful when a website dynamically inserts some text and doesn’t know the directionality of the text being inserted.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

bdo

A

The HTML element overrides the current directionality of text, so that the text within is rendered in a different direction.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

br

A

The <br></br> HTML element produces a line break in text (carriage-return). It is useful for writing a poem or an address, where the division of lines is significant.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

cite

A

The <cite> HTML element is used to describe a reference to a cited creative work, and must include the title of that work. The reference may be in an abbreviated form according to context-appropriate conventions related to citation metadata.</cite>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

code

A

The <code> HTML element displays its contents styled in a fashion intended to indicate that the text is a short fragment of computer code. By default, the content text is displayed using the user agent default monospace font.</code>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

data

A

The HTML element links a given piece of content with a machine-readable translation. If the content is time- or date-related, the time element must be used.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

dfn

A

The <dfn> HTML element is used to indicate the term being defined within the context of a definition phrase or sentence. The p element, the dt/dd pairing, or the section element which is the nearest ancestor of the <dfn> is considered to be the definition of the term.</dfn></dfn>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

em

A

The <em> HTML element marks text that has stress emphasis. The <em> element can be nested, with each level of nesting indicating a greater degree of emphasis.</em></em>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

i

A

The <i> HTML element represents a range of text that is set off from the normal text for some reason, such as idiomatic text, technical terms, taxonomical designations, among others. Historically, these have been presented using italicized type, which is the original source of the <i> naming of this element.</i></i>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

kbd

A

The <kbd> HTML element represents a span of inline text denoting textual user input from a keyboard, voice input, or any other text entry device. By convention, the user agent defaults to rendering the contents of a <kbd> element using its default monospace font, although this is not mandated by the HTML standard.</kbd></kbd>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

mark

A

The HTML element 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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

q

A

The HTML element indicates that the enclosed text is a short inline quotation. Most modern browsers implement this by surrounding the text in quotation marks. This element is intended for short quotations that don’t require paragraph breaks; for long quotations use the blockquote element.

17
Q

rp

A

The HTML element is used to provide fall-back parentheses for browsers that do not support display of ruby annotations using the ruby element. One element should enclose each of the opening and closing parentheses that wrap the rt element that contains the annotation’s text.

18
Q

rt

A

The HTML element specifies the ruby text component of a ruby annotation, which is used to provide pronunciation, translation, or transliteration information for East Asian typography. The element must always be contained within a ruby element.

19
Q

ruby

A

The HTML element represents small annotations that are rendered above, below, or next to base text, usually used for showing the pronunciation of East Asian characters. It can also be used for annotating other kinds of text, but this usage is less common.

20
Q

s

A

The HTML element renders text with a strikethrough, or a line through it. Use the element to represent things that are no longer relevant or no longer accurate. However, is not appropriate when indicating document edits; for that, use the del and ins elements, as appropriate.

21
Q

samp

A

The <samp> HTML element is used to enclose inline text which represents sample (or quoted) output from a computer program. Its contents are typically rendered using the browser's default monospaced font (such as Courier or Lucida Console).</samp>

22
Q

small

A

The <small> HTML element represents side-comments and small print, like copyright and legal text, independent of its styled presentation. By default, it renders text within it one font-size smaller, such as from small to x-small.</small>

23
Q

span

A

The <span> HTML 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.</span></span></span>

24
Q

strong

A

The <strong> HTML element indicates that its contents have strong importance, seriousness, or urgency. Browsers typically render the contents in bold type.</strong>

25
Q

sub

A

The HTML element specifies inline text which should be displayed as subscript for solely typographical reasons. Subscripts are typically rendered with a lowered baseline using smaller text.

26
Q

sup

A

The HTML element specifies inline text which is to be displayed as superscript for solely typographical reasons. Superscripts are usually rendered with a raised baseline using smaller text.

27
Q

time

A

The HTML element represents a specific period in time. It may include the datetime attribute to translate dates into machine-readable format, allowing for better search engine results or custom features such as reminders.

28
Q

u

A

The <u> HTML element represents a span of inline text which should be rendered in a way that indicates that it has a non-textual annotation. This is rendered by default as a simple solid underline, but may be altered using CSS.</u>

29
Q

var

A

The <var> HTML element represents the name of a variable in a mathematical expression or a programming context. It's typically presented using an italicized version of the current typeface, although that behavior is browser-dependent.</var>

30
Q

wbr

A

The HTML element represents a word break opportunity—a position within text where the browser may optionally break a line, though its line-breaking rules would not otherwise create a break at that location.