Computer Final Flashcards
What does HTML stand for?
Hyper text markup language
What file extension is used with standard web pages?
.html
What should the first element in any web page?
What is not part of an xhtml element?
Anchor
How would you create a link to another web page named page2.html?
<a>link to page 2</a>
What does the element <p> stand for?</p>
Paragraph
What is the syntax for an XHTML comment
What is the start tag for an individual item in a list?
<li>
</li>
What will create a bulleted list?
<ul></ul>
What is wrong with the following XHTML code?
<a>visit YouTube</a>
Http:// is missing
What is wrong with the following?
<img></img>
It is src not source
What will happen if we specify an images height and width outside of its true original proportion?
The web browser will display a distorted version of the image
What is generally considered the best format to use for color photographs on the web?
.jpg
Which of the following is not an available attribute for the <img></img> element
File name
Which image format can support animation?
.gif
What does target=”_blank” do when specified in an <a> element </a>
Tells the browser to open a link in a new window
A bookmark link starts with which symbol in the href attribute?
#
What would a blind person hear in a screen reader in the place of a web image?
Whatever text is specified in the alt attribute
What are valid table element Sa?
What element is used to define a column
What is wrong with the following XHTML code?
row 1 col 1
Tr and td need to switch
What will happen if we do not specify the border attribute for a element?
The table will show without any cell borders
What is wrong with this css code
P {
text-decoration:underline }
Missing a semi colon after underline (;)
What does CSS stand for?
Cascading style sheet
Where is an internal sale sheet located?
In the section of XHTML document
What will be the result if the following CSS code is applied to a web page?
p { color:blue; }
The text of all paragraph elements will be blue
Which property determines the font (e.g. Aerial,Tahoma) a text element is displayed in?
Font-family
In the following CSS statement, which is considered the selector?
p { color: blue; }
P
The correct syntax for using a colspan attribute in an XHTML document is: