HTML Flashcards
(21 cards)
What is HTML?
Hyper Text Markup Language
What is HTML used to do?
to mark parts of documents to indicate how they should appear in print or on a display.
How many tags must a HTML document include? What are they?
4.
, , ,
What does head element do?
it provides information about the document but noe the content, e. g. title, character set
HTML document is ?
a mixture of content and control
Controls are specified by ?
tags
What is the characteristic of tags?
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>
Comments are used to ? What is the tag?
increase readability.
What will browser ignore?
- Unrecognized tags including misspelt tag
- line breaks, multiple spaces and tabs
- comments
Paragraph tags? What is special for paragraph?
<p> </p>
the browser inserts a line break at the end of paragraph.
Line break tags? What is the difference between <p> and line break?</p>
- end of the sentence
2. only start a new line=no line break between
Preserve White Space?
<pre> </pre>
to prevent browser from eliminating multiple spaces and ignoring line breaks.
How many Headings? What are they?
6. <h1> </h1> <h2> </h2> <h3> </h3> <h4> </h4> = default font size <h5> </h5> <h6> </h6>
Block Quotation?
<blockquote>
<p>
</p>
</blockquote>
Font Styles?
Character Entities?
default bold <strong></strong> italic <em></em> codetext <code></code> sub_ & sup^ <sub>2</sub> <sup>3</sup> dividing line <hr> & & < < > > " " ' ' 1/2 ½ 15degree 15° copyright © euro €
Mta Element?
Character set-
provide info about document primarily for search engine:
image Element?
<img></img>
Hypertext Links?
<a> go to bing! (content on display) </a>
A breakdown of a HTML tag:
<a> Computer Hope </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
Unordered List?
Ordered List?
Definition List?
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>
Tables?
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