IES: HTML-recog dk2 Flashcards

1
Q
  • attribute of the HTML root element
  • appoints the document’s language
  • Example: “ar”: Arabic, “fr”: French, “es”: Spanish; “en”: English.
  • Example coding: <html ____=”en”> … </html>
A

lang

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q
  • empty element
  • presents Information or parameters about the document itself
  • always appears in the head of the document’s HTML coding
A

<meta></meta>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q
  • Character-set
  • an attribute of the meta element
  • Example coding: ( <meta ______=”utf-8”> )
A

Charset

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q
  • A type of character encoding format
  • Assigns an 8-bit Unicode Transformation Format Character Setting for the HTML document
  • Assigned using a “charset” attribute of a meta element in the head of the html document
A

UTF-8

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q
  • Text container in the head where the doc’s title is placed
  • should be short and meaningful: ideal length- 10 characters or less.
  • very important for SEO.
    Used extensively in the following:
  • bookmarks
  • Title bar
  • Navigation tab
  • History
  • Search engines
A

<title>
</title>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q
  • Search Engine Optimization.
  • Highly prized process of improving a page’s organic page rankings (rank in search results) presumably, maximizing the number of visitors to a particular website.
  • It is useful to provide sufficient metadata that describes the page content well.
A

SEO

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q
  • Block element
  • The tags For this element contain the largest of 6 different sizes of headings and subheadings
  • Usually holds the doc’s main heading (Should be only one in doc, but can be more)
A

<h1>
</h1>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q
  • Verify that any HTML doc will conform to its specified document type declaration: thereby, always appearing correctly in any standards-compliant browser.
  • Validator.w3.org
A

W3C Validator Tool

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q
  • In HTML coding, the way of including special characters in the document
  • Begins with an ampersand and ends with a semicolon (& … ;)
  • *Best avoided in doc titles as the vocal narrator used by visually impaired viewers may read this as a word.
    • (W3C comprehensive Chart of these special characters and their corresponding html codes found at: dev.w3.org/html5/html-author/charref)
A

HTML “character entities”

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q
  • html entity coding for “ < “
  • These are often needed to avoid confusion with the angled brackets that surround each HTML tag.
A

<!--"&lt;"-->

(The only coding relevant to this question lies between the quotes.)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q
  • html entity code for “ > “
  • These are often needed to avoid confusion with the angled brackets that surround each HTML tag.
A

<!--"&gt;"-->

(The only coding relevant to this question lies between the quotes.)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q
  • html entity code for (a single non-breaking space)
  • Two words separated by a non-breaking space will stick together (not break into a new line).
  • *This is handy when breaking the words might be disruptive.
  • Example code: <p>follow<&[…]nbsp[…];>me</p>
A

Word of coding:
* begins with “ &…”
* followed by “..nbsp..”
* ending in “..; “

(The only coding relevant to this question lies between the quotes.)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q
  • html entity code for (bullet point)
A

<!--"&bull;"-->

(The only coding relevant to this question lies between the quotes.)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q
  • html entity code for (©)
A

<!--"&copy;"-->

(The only coding relevant to this question lies between the quotes.)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q
  • html entity code for (™)
A

<!--"&trade;"-->

(The only coding relevant to this question lies between the quotes.)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q
  • html entity code for (®)
A

<!--"&reg;"-->

(The only coding relevant to this question lies between the quotes.)

17
Q
  • html entity code for ( “ ), (Quotation marks)
A

<!--"&quot;"-->

(The only coding relevant to this question lies between the quotes.)

18
Q
  • WinKey + Ctrl + Enter
  • Press the “tab” button to hear the document title
A

To launch the narrator in Windows 10

19
Q
  • <!--notes or comments here-->
A

Coding in HTML to place a comment that is ignored by the browser

20
Q
  • html code to ensure the best page view for smaller / larger screens: ensures doc will fill the device screen width
  • Sets the initial zoom level so the content is not zoomed.
  • Coding: <meta name=”viewport” content=”width=device-width, initial-scale=1”>
A

Optimize doc view (all screens)