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
The ………… is everything between the start and the end tag
element content
A table is divided into rows with the ……… tag
<tr>
</tr>
The ……… attribute provides alternative information for an image if a user for some
reason cannot view it (because of slow connection, an error in the src attribute, or if the user uses a screen reader).
alt
When used together with CSS (div and span),
the ………. element can be used to style parts of the text
<span></span>
………… stands for Cascading Style Sheets
CSS
The ………… selector finds elements with the specific class
class
……….. replaces the “old way” of defining layout using tables
<div>
</div>
Defines a part of text in an
alternate mood
<i></i>
Defines a section in a document (inline)
<span></span>
To set the padding, use the CSS …………. property
padding
Tables are defined with the ………… tag.
<table>
</table>
To add borders with CSS, use the ………… property
border
Defines an abbreviation or
acronym
<abbr></abbr>
………. style sheets enable you to change the appearance and layout of all the pages in a Web site, just by editing one single file!
External
provides a title for the page when it is added to favorites
<title>
</title>
The characters in a ………. field are masked (shown as asterisks or circles)
password
Another common use of the ……… element, is for document layout
<div>
</div>
A CSS ………… starts with/* and ends with */
comment
Defines subscripted text
<meta></meta>
tags always go inside the ……… element
<head>
</head>
Some HTML elements have empty content
(T/F)
True
In background-image, By default, the image is repeated so it covers the entire element
(T/F)
True
To find elements with a specific ………, write a period character, followed by the name of the class
class
The ………… tag defines a description list
<dl>
</dl>
The list items are marked with ………. (typically small black circles)
bullets
An HTML ……….. ends with an end tag
element
The ……… elements can contain all sorts of HTML elements like text, images, lists, other tables, etc
<td>
</td>
HTML images are defined with the …….. tag and the ……. attribute
<img></img>, Src
Each ………… includes a property name and a value, separated by a colon
declaration
………… elements are normally displayed without starting a new line.
lnline
HTML ….. normally come in pairs like <P> and <IP></IP>
tags
By default, all major browsers display table headings as ……….. and …………
bold, centered
use ……….. tag to add caption to a table
<caption>
</caption>
The ……………. tag defines the relationship between a document and an external resource
<link></link>
displays a title for the page in search-engine results
<title>
</title>
By default, the background-image property repeats an image both horizontally and vertically.
(T/F)
True
Defines a definition term
<dfn></dfn>
XHTML elements must be in uppercase
(T/F)
False
……….. Style Sheets are stored in CSS files
External
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
Attribute names and attribute values are not
case-insensitive
(T/F)
False
………….. is supported by all major browsers
XHTML
The value of the ……. attribute is an author-defined text
alt
…………. stands for table row
tr
The background color of a page is defined in the ……….. selector
body
The ………. tag specifies the base URL/target for all relative URLs in a page
<base></base>
HTML documents consist of nested HTML elements
(T/F)
True
The ……….. element defines the body of the HTML document
<body>
</body>
A ………… is a list of terms/names, with a description of each term/name
description list
Defines inserted text
<ins></ins>
The link address is specified in the ………. attribute
href
When saving an HTML file, use either the ………. or the …….. file extension.
.htm, .html
Defines keyboard text
<kbd></kbd>
An ………. element can vary in many ways, depending on the type attribute
<input></input>
The <span> element has special meaning
(T/F)</span>
False
Defines the text direction
<bdo></bdo>
Defines marked/highlighted text
<mark></mark>
The required ………. attribute specifies an alternate text for an image, if the image cannot be displayed
alt
Most HTML elements can have attributes
(T/F)
True
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
A …….. can also contain select lists, textarea, fieldset, legend, and label elements
form
defines a title in the browser toolbar
<title>
</title>
……… is almost identical to HTML 4.01
XHTML
………….. opens the linked document in a new window or tab
_blank
A row is divided into data cells with the ………… tag
<td>
</td>
…………. are always specified in the start tag
Attributes
To left-align the table headings, use the CSS ………… property
text-align
The end tag is written like the start tag, with a …….. before the tag name
slash
An XHTML document must have an XHTML ……… declaration
DOCTYPE
The …….. tag defines the title of the document
<title>
</title>
…………. : using the style attribute in HTML
elements
lnline
……………. are ignored by
browsers
Comments
Unlike………, which is formatted with line breaks, the <span> element does not have any automatic formatting</span>
<div>
</div>
When used together with CSS(div and span),
the ……….. element can be used to set style attributes to
large blocks of content
<div>
</div>