Released HTML/CSS Assessment
Which character is used to indicate an end tag?
/
Which of the following defines a document as a HTML?
<!DOCTYPE html>
What is the correct HTML for creating a hyperlink?
<a href = "url.com"></a>
What is the correct HTML for adding a background color (inline css style change)?
<body style = "background-color:yellow;">
What is the correct HTML element for inserting a line break?
<br>
Choose the correct HTML element to define emphasized text.
<em>
Choose the correct HTML element for the largest heading:
<h1>
What is the correct HTML for inserting an image?
<img src = "image.gif" alt = "MyImage">
What is the correct HTML for referring to an external style sheet?
<link rel = "stylesheet" type = "text/css" href = "mystyle.css>
How can you make a numbered list?
<ol>
Choose the correct HTML element to define important text.
<strong>
Which of these elements are all table elements?
<table><tr><td>
Which HTML element defines the title of a document?
<title>
How can you make a bulleted list?
<ul>
What does CSS stand for?
Cascading Style Sheets
What does HTML stand for?
Hyper Text Markup Language
Where in an HTML document is the correct place to refer to an external style sheet?
In the <head> section
How do you group selectors?
Separate each selector with a comma
Who is making the Web standards?
The World Wide Web Consortium
Which HTML attribute specifies an alternate text for an image, if the image cannot be displayed?
alt
Which is the correct CSS syntax?
body { color: black; }
Which CSS property is used to change the text color of an element?
color
Which CSS property controls the text size?
font-size
How do you add a background color for all h1 elements?
h1 {background-color: #FFFFFF;}