HTML Flashcards

(21 cards)

1
Q

What is HTML?

A

Hyper Text Markup Language

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

What is HTML used to do?

A

to mark parts of documents to indicate how they should appear in print or on a display.

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

How many tags must a HTML document include? What are they?

A

4.

, , ,

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

What does head element do?

A

it provides information about the document but noe the content, e. g. title, character set

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

HTML document is ?

A

a mixture of content and control

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

Controls are specified by ?

A

tags

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

What is the characteristic of tags?

A

Most HTML tags consist of a PAIR of syntactic markers that are used to delimit particular knids of content.
A pair of tags and their content form an element.
e. g. <p> this is a paragraph. </p>
Some tags inclue attribute specification.
e. g. <img></img>

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

Comments are used to ? What is the tag?

A

increase readability.

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

What will browser ignore?

A
  1. Unrecognized tags including misspelt tag
  2. line breaks, multiple spaces and tabs
  3. comments
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Paragraph tags? What is special for paragraph?

A

<p> </p>

the browser inserts a line break at the end of paragraph.

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

Line break tags? What is the difference between <p> and line break?</p>

A
  1. end of the sentence

2. only start a new line=no line break between

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

Preserve White Space?

A

<pre> </pre>

to prevent browser from eliminating multiple spaces and ignoring line breaks.

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

How many Headings? What are they?

A
6. 
<h1> </h1>
<h2> </h2>
<h3> </h3>
<h4> </h4> = default font size
<h5> </h5>
<h6> </h6>
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Block Quotation?

A

<blockquote>
<p>

</p>
</blockquote>

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

Font Styles?

Character Entities?

A
default            
bold              <strong></strong>
italic              <em></em>
codetext       <code></code>
sub_ &amp; sup^     <sub>2</sub> <sup>3</sup>
dividing line  <hr>
&amp;                    &amp;
<                    <
>                    >
"                    "
'                    '
1/2                ½
15degree     15°
                     
copyright     ©
euro             €
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Mta Element?

A

Character set-

provide info about document primarily for search engine:

17
Q

image Element?

18
Q

Hypertext Links?

A

<a> go to bing! (content on display) </a>

19
Q

A breakdown of a HTML tag:

<a> Computer Hope </a>

A
whole=element
<a href="hope.%20html"> = opening tag
</a> = closing tag
href = "hope. html" = Attribute
   href = Attribute name
   "hope. html" = Attribute value
Computer Hope = Enclosed tag content
20
Q

Unordered List?
Ordered List?
Definition List?

A
Unordered: 
<ul> 
   <li> </li>
   <li> </li>
</ul>
Ordered: 
<ol>
   <li> </li>-1.2.3.
   <ol> </ol>-A. B. C. D.
</ol>
Definition: 
<dl>
   <dt> </dt> -no tab
   <dd> </dd> -has tab
</dl>
21
Q

Tables?

A

My Table -table title in the middle

- bold
- default
- combine next 2 rows in this block
- combine next 2 columns i this block - a row of the table