ANSWERS .Buy Quality Materials!
Method
What required <form> attribute specifies the manner in which the browser will send form
data to a web server?
Action
This required <form> attribute specifies the name and location of the CGI script used to
process the form
Get
What <form> method attribute value instructs the browser to append the form data to
the URL for use in a query string?
Post
What <form> method attribute value allows sending more characters and is slightly
more secure when submitting a Web-based form?
Part of a web document body that has opening and closing tags
In HTML, what is a container?
A container in which another element resides
In HTML, what is a parent container
<footer>, <header>, <section>, and <span>
HTML elements that are containers
<div>
A block element with no semantic meaning
Inline Element
WHat type of HTML element fills the minimum space possible in the parent container
and can only contain text of other elements of this type?
<span>
Generic HTML element that creates inline containers to facilitate the managing content
on a webpage. Has no semantic meaning
Inline and block elements
What types of elements can be insides a block element?
Inline elements
What types of elements can be insides an inline element?
<form>
What HTML element do we use to facilitate information gathering for submission to a
server?
Enctype
What HTML attribute should be used if a <form> field contains binary data that the
normal format of the query string is not sufficient to encode?
id, name, type, value, placeholder
Five primary attributes for a <input> element
text
,What is the <input> type attribute value of a text box widget?
<input>
Which HTML element should be used to produce a submit button widget in form?
value
Which <input> attribute allows the input to start with a default value?
placeholder
Which <input> attribute provides a hint to the user about the information being
requested?
for
Which attribute inside the <label> element is used to associate the label with a widget?
False
True of false? An <option> element must have a value attribute.
<button>
Which element can create a button with an image?
email, search, tel, url
Four <input> types that exist for entering specific types of text.
AAC, MP3
Audio formats supported by nearly all web browsers
<link rel="stylesheet" type="text/css" href="mystyle.css">
Correct HTML for referring to an external style sheet
In the <head> section
Where in an HTML document is the correct place to refer to an external style sheet?
<style>
Which HTML tag is used to define an internal style sheet?
style
Which HTML attribute is used to define inline styles?
body {color:black;}
Which is the correct CSS syntax?
/ this is a comment /
How to insert CSS comment
background-color
Which property is used to change the background color?
h1 {background-color:#FFFFFF;}
Property used to add a background color for <h1> elements?
color
Which CSS property is used to change the text color of an element?
font-size
Which CSS property controls the text size?
p {font-weight:bold;}
CSS syntax that makes all the <p> elements bold
a {text-decorations:none;}
How do you display hyperlinks without an underline?
text-transform:capitalize
How do you make each word in a text start with a capital letter?
font-family
Which property is used to change the font of an element?
, font-weight:bold;
How to make the text bold
boder-width:top border, right, bottom, left (px)
How to display a border.
margin-left
How to change the left margin of an element.
No
Can you use negative values when using the padding property?
list-style-type: square;
How do you make a list that lists its' items with squares?
#demo
How do you select an element with id 'demo'?
.test
How do you select elements with class name 'test'?
div p
How do you select all p elements inside a div element?
Separate each selector with a comma
How do you group selectors?
static
What is the default value of the position property?
<body style="background-color:yellow;">
Correct HTML for adding a yellow background color?
<strong>
HTML element to define important text
<em>
HTML element used to define emphasized text?
<a href="http://www.w3schools.com">W3Schools</a>
Correct HTML for creating a hyperlink
<a href="url" target"_blank">
HTML used to open a link in a new tab/browser window.
<table>, <tr>, <td>
HTML <table> elements
True
True or false? Inline elements are normally displayed without starting a new line.
<ol>
How to make a numbered list in HTML?
<ul>
How to make a bulleted list in HTML?
<input type="checkbox">
What is the correct HTML for making a checkbox?
<input type="text">
HTML for making a text input field?
<select>
HTML for making a drop-down list?
<input type="textbox">
HTML for creating a text area?