Dr.Hazem Flashcards
An ……….. style sheet can be used if one single document has a unique style
internal
Attribute values should always be enclosed in ………….
quotes
CSS …………… are used to “find” (or select) HTML elements based on their id, classes, types, attributes, values of attributes and much more
selectors
HTML markup tags are usually called ……….
HTML tags
Defines preformatted text
<pre>
</pre>
XHTML documents must have one root element
(T/F)
True
HTML stands for ………….
Hyper Text Markup Language
Defines the title of a work
<cite></cite>
The ……… attribute in <html> is mandatory
xmlns
An HTML ………… can contain input elements like text fields, checkboxes, radio-buttons, submit buttons and more
form
A row can also be divided into headings with the ……….. tag
<th>
</th>
……… stands for table heading
th
To …… selectors, separate each selector with a comma
group
Showing the image only once is specified by the ……….. property
background-repeat
A markup language is a set of markup ………..
tags
Most HTML elements are defined as ……….. elements or as ………. elements
block level, inline
The filename and the size of the image are ………..
attributes
Defines emphasized text
<em></em>
The ……………… contains one or more declarations separated by semicolons
declaration block
The <div> element has no special meaning
(T/F)
True
Empty elements are closed in the end tag
(T/F)
False
……….. headings should be used as main headings
h1
HTML ………… contain HTML tags and plain text
documents
Defines superscripted text
52
HTML images are defined with the ........ tag and the ....... attribute
53
Each ............ includes a property name and a value, separated by a colon
declaration
54
............ elements are normally displayed without starting a new line.
lnline
55
HTML ..... normally come in pairs like
and
tags
56
By default, all major browsers display table headings as ........... and ............
bold, centered
57
use ........... tag to add caption to a table
58
The ................ tag defines the relationship between a document and an external resource
59
displays a title for the page in search-engine results
60
By default, the background-image property repeats an image both horizontally and vertically.
(T/F)
True
61
Defines a definition term
62
XHTML elements must be in uppercase
(T/F)
False
63
........... Style Sheets are stored in CSS files
External
64
The browser does not display the HTML tags, but uses the tags to determine how
the content of the HTML page will be presented/displayed to the user
(T/F)
True
65
Attribute names and attribute values are not
case-insensitive
(T/F)
False
66
.............. is supported by all major browsers
XHTML
67
The value of the ....... attribute is an author-defined text
alt
68
............. stands for table row
tr
69
The background color of a page is defined in the ........... selector
body
70
The .......... tag specifies the base URL/target for all relative URLs in a page
71
HTML documents consist of nested HTML elements
(T/F)
True
72
The ........... element defines the body of the HTML document
73
A ............ is a list of terms/names, with a description of each term/name
description list
74
Defines inserted text
75
The link address is specified in the .......... attribute
href
76
When saving an HTML file, use either the .......... or the ........ file extension.
.htm, .html
77
Defines keyboard text
78
An .......... element can vary in many ways, depending on the type attribute
79
The element has special meaning
(T/F)
False
80
Defines the text direction
81
Defines marked/highlighted text
82
The required .......... attribute specifies an alternate text for an image, if the image cannot be displayed
alt
83
Most HTML elements can have attributes
(T/F)
True
84
The purpose of a web browser (such as Google Chrome, Internet Explorer, Firefox, Opera) is to read HTML documents and display them as ............
web pages
85
A ........ can also contain select lists, textarea, fieldset, legend, and label elements
form
86
defines a title in the browser toolbar
87
......... is almost identical to HTML 4.01
XHTML
88
.............. opens the linked document in a new window or tab
_blank
89
A row is divided into data cells with the ............ tag
|
90
............. are always specified in the start tag
Attributes
91
To left-align the table headings, use the CSS ............ property
text-align
92
The end tag is written like the start tag, with a ........ before the tag name
slash
93
An XHTML document must have an XHTML ......... declaration
DOCTYPE
94
The ........ tag defines the title of the document
95
............. : using the style attribute in HTML
elements
lnline
96
................ are ignored by
browsers
Comments
97
Unlike........., which is formatted with line breaks, the element does not have any automatic formatting
98
When used together with CSS(div and span),
the ........... element can be used to set style attributes to
large blocks of content
99
The ........... property defines the background color for an element
background-color
100
Defines a section that is quoted from another source
101
If some properties have been set for the same selector in different style sheets, the values will be inherited from the more specific style sheet
(T/F)
True
102
The position of the image is specified by the ............. property
background-position
103
If you want the borders to collapse into one border, add ............ to your CSS
border-collapse
104
The default width of a text field is 50 characters
(T/F)
False
105
, ,
False
106
Smaller devices often lack the resources or power to interpret a "bad" markup language
(T/F)
True
107
The HTML ........ element is a block level element that can be used as a container for grouping other HTML elements
108
Defines an inline (short) quotation
109
With an ............ style sheet, you can change the look of an entire Web site by changing one file.
external
110
HTML elements with no content are called .............
empty elements
111
.......... were added to HTML 4.0 to solve a problem
Styles
112
The ................ points to the HTML element you want to style
selector
113
Defines important text
115
The ........... selector uses the HTML class attribute
class
116
Defines sample computer code
117
The
empty
118
An ordered list starts with the ......... tag
119
If the image is repeated only
horizontally (repeat-x), the background will look better
(T/F)
True
120
Defines a section in a document (block-level)
121
In XHTML, Attribute minimization is not forbidden
(T/F)
False
122
If you do not specify a padding, the table cells will be displayed with padding
(T/F)
False
123
Defines smaller text
124
Adding a ......... inside the start tag, like
, is the proper way of closing empty elements in XHTML (and XML)
slash
125
............ opens the linked document in the same frame as it was clicked (this is default)
_self
126
The purpose of the .......... element is to display tabular data
|