WorksheetsCSS QUIZ NO.2
Total questions: 10
Worksheet time: 5mins
Which of the following is a selector?
<h1>
blue
center
color
Add subheading
<h1>
<h2>
<h3>
<p>
Create table
<table>
<td>
<tr>
<th>
<style> <style>
Defines internal CSS – Enables you to write CSS rules within an HTML file.
inserts multiple images
sets the formatting of elements on a web page
create horizontal rule
Which of the following tag intends to add background color?
background-image: url(background.jpg)
background-color:white;
<img src=“name.gif” alt=“description”>
<a href=“http://www.site.com”>Link</a>
</html>
make a hyperlink using html
first line of a code in an HTML document
last line of code in an HTML document
change background color
An external stylesheet can be written in any text editor, and must be saved with a ________ extension.
.htm
.css
.doc
.jpg
CSS used to apply a unique style to a single HTML element.
Inline
External
Internal
style
CSS using a <style> element in the <head> section.
Inline
Internal
External
HTML
Make a table row
<td>
<tr>
<th>
<table>
