CSCE 102 Quizzes Test 1
HTML pages use the ___file extension.
.html
Which of the following is the correct anchor tag to link to the web page: http://www.google.com?
<a href="http://www.google.com">A link to google</a>
Which of the following is an absolute hyperlink?
<a href="http://www.google.com">Google</a>
Which of the following is a relative link?
<a href="mypage.html">Link</a>
What tag is used to hyperlink web pages to each other?
<a> tag
Which tag configures the following text or element to display a new line?
<br>
Which of the following is a correct image tag to display the image: puppies.jpg?
<img src="puppies.jpg" alt="Doggie picture">
Is it possible to define a style for the image tag?
True
Using CSS it is possible to change the numbers on an ordered list to roman numerals.
True
Using CSS it is possible to to change the bullets on an unordered list to an image.
True
When using the font-family CSS property, if you have a font name with multiple words, you must include this name in quotes for it to function properly.
True
Which attribute of the image tag is used to specify a text phrase to describe the image?
alt
What is the name of the CSS property used to set the background color for an element?
background-color
What CSS property allows you to specify an image for the background of an element?
background-image
What is the name of the CSS property used to specify a background image for an element?
background-image
What HTML tag causes the text to be indented on the right and left margins?
blockquote
What is the CSS property that specifies the style of the border of an element?
border-style
What is the CSS property that controls text color?
color
Which of the following CSS properties controls the text color?
color
The innermost box in the CSS box model is the ____
content
The height attribute is required for the image tag
false
URL stands for Universal Resource Locator
false
What is the term used to describe a square icon that is associated with a web page and is displayed in the browser address bar or tab?
favicon
What is the name of the CSS property used to specify the typeface for an element?
font-family
What is the name of the CSS property used to set the size of the font for an element?
font-size
What is the name of the CSS property used to set the boldness of the font for an element?
font-weight
Which of the following CSS properties can make text appear bold?
font-weight
What is the CSS property that configures the height of an element's content?
height
What is the name of the attribute you set for an anchor tag to specify the name and location of the file to access with the link?
href
The outermost box in the CSS box model is the ____.
margin
What CSS property determines the empty space between an element and it's adjacent elements?
margin
What CSS property configures the transparency of an element?
opacity
Which type of list will automatically number the items for you?
ordered list
What CSS property configures the empty space between the content of an HTML element and the border.
padding
Which attribute of the image tag is used to specify the URL or file name of the image to be displayed by the tag?
src
What is the name of the CSS property you would use to center the text of an element?
text-align
What CSS property can be used to make underlined text?
text-decoration
If you wanted to indent a paragraph element (like the traditional indentation of the first line of a paragraph) what CSS property would you use?
text-indent
The alt attribute is required for image tags
true
What is the CSS property that configures the width of an element's content?
width