Graphic design post test
How do you insert a comment in a CSS file?
/*this is a comment*/
Choose the correct HTML tag for the largest heading?
<h1>
Which two tags are required for every webpage?
<html> and <body>
What is the correct HTML for inserting an image?
<img src="image.gif" alt="MyIma
What is the correct HTML for making a checkbox?
<input type="checkbox" />
What is the correct HTML for making a text input field?
<input type="text" />
What is the correct HTML for referring to an external style sheet?
<link rel="stylesheet" type="text/
Which HTML element defines navigation links?
<nav>
How can you make a list that lists the item with numbers?
<ol>
What is the correct HTML for making a dropdown list?
<select>
Which HTML tag is used to define an internal style sheet?
<style>
Which of these tags are all <table> tags?
<table><tr><td>
Choose the correct HTML to leftalign the content inside a tablecell
<td align="left">
How can you make a list that lists the items with bullets?
<ul>
The HTML <canvas> element is used to:
Draw graphics
What language is used to create webpages?
HTML
Which protocol is used to transmit data from a web server to a web browser?
HTTP
Which protocol would you use to access a file on the world wide web through a secure connection?
HTTPS
What will be the output of this code? <!display some text> <h1>Here is a heading</h1>
Here is a heading
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
What is CSS?
Is is a Cascading Style Sheet and
Which of the following is an eventdriven scripting language used to create active content on a Web page?
JavaScript
Which of the following is always required in order to connect to the Internet?
Transmission Control Protocol/Inte
HTML comments start with <! and end with >
True
What do you need to create webpages?
What do you need to create webpages?
Who is the maker of HTML Standards
World Wide Web Consortium
What is the next phase in the evolution of HTML?
XHTML
Which property is used to change the background color?
backgroundcolor
Which is the correct CSS syntax? (
body {color: black;}
What is the correct CSS syntax for making all <p> elements bold?
p {fontweight:bold;}
Which input type defines a slider control?
range
In HTML, which attribute is used to specify that an input field must be filled out?
required
Which HTML attribute is used to define inline styles?
style
Which attribute is used to set inline styles for tags?
style
In HTML, what does the <tr> tag mean?
table row
How do you make each word in a text start with a capital letter?
text-transform:capitalize
You have a situation where you want to accept some input from the user that is usually 12 paragraphs long. Which of the following form elements would you choose?
textarea
Where does the following link link to? < a href="http://designformasscomm.weebly.com/" target="_blank" >
www.designformasscomm.weebly
Which character entity would you use to display extra spaces on a webpage?
& reg;
What is the proper code for creating the copyright symbol in HTML?
©;
What file extension should HTML files have?
.html
Which character is used to indicate an end tag?
/
Which heading tag would you use for the main heading on a page?
< h1 >
Which tag is the root tag in HTML?
< html >
Which of the following will display a password field in a form?
< input type="password" name="
Which tag is used to create paragraphs?
< p >
Which one of the following tags creates a table cell?
< td >
What is the correct HTML for creating a hyperlink?
<a href="http://designformasscomm
How can you create an email link?
<a href="mailto:xxx@yyy">
How can you open a link in a new browser window?
<a href="url target="_blank">
What is the preferred way for adding a background color in HTML?
<body style="backgroundcolor:y
What is the correct HTML tag for inserting a line break?
<br />
What do you need to create webpages?
A tag
What two things do you need to create webpages & view them?
A text editor & a web browser
What software do you need to view webpages that you create?
A web browser
Which of the following is a rule that must be followed in HTML?
All of the above
Which of the following tags go inside the head section of an HTML document?
All of the above
Which property is used to change the font of an element?
Both fontfamily and font can be
When you view a Web page, the images are downloaded to your computer. Where are they stored?
Browser cache
What does CSS stand for?
Cascading Style Sheets
In HTML, what does the <aside> element define?
Content aside from the page content9
. HTML is used for styling elements on webpages
FALSE
What does FTP stand for?
File Transfer Protocol
The rules that describe the ways that clients and servers communicate across a network are called:
Protocols
What does SEO mean?
Search Engine Optimization
What is the purpose of the <head> tag?
Signifies the head section of an HT
The < !DOCTYPE > declaration should always be the first thing in an HTML document
TRUE
Assuming that orange.jpg cannot be found, what will be displayed when a page with this code is loaded in the browser? < img src="orange.jpg" alt="Orange" />
The text 'Orange'
What does it mean when tags or attributes are said to be deprecated?
They have become outdated and
Who invented HTML? In which year and for whom?
Tim Berner Lee 1980 CERN (Eur
How do you display hyperlinks without an underline?
a {textdecoration:none;}
Which attribute of the < table > tag denotes how much space to put between cells?
cellspacing
Which CSS property is used to change the text color of an element?
color
Which CSS property controls the text size?
fontsize
How do you make the text bold?
fontweight:bold;
How do you add a background color for all <h1> elements?
h1 {backgroundcolor: #FFFFFF;}