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
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>
3
Q
- Character-set
- an attribute of the meta element
- Example coding: ( <meta ______=”utf-8”> )
A
Charset
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
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>
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
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>
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
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”
10
Q
- html entity coding for “ < “
- These are often needed to avoid confusion with the angled brackets that surround each HTML tag.
A
<!--"<"-->
(The only coding relevant to this question lies between the quotes.)
11
Q
- html entity code for “ > “
- These are often needed to avoid confusion with the angled brackets that surround each HTML tag.
A
<!--">"-->
(The only coding relevant to this question lies between the quotes.)
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.)
13
Q
- html entity code for (bullet point)
A
<!--"•"-->
(The only coding relevant to this question lies between the quotes.)
14
Q
- html entity code for (©)
A
<!--"©"-->
(The only coding relevant to this question lies between the quotes.)
15
Q
- html entity code for (™)
A
<!--"™"-->
(The only coding relevant to this question lies between the quotes.)