HTML
How many standard color names are there
140
Comments in HTML
<!-- -->
First line in a drop-down
<Select name= " ">
Line of code for a link
<a href="http://www." and local does not>test</a>
Defines a default address or a default target for all links on a page
<base>
Example of bi-directional statement
<bdo dir="rtl" In the begining</bdo>
Add the proper HTML element to it, and specify that it is quoted from the following URL: http://www.worldwildlife.org For 50 years, WWF has been protecting the future of nature.
<blockquote cite="http://www.worldwildlife.org> For 50 years, WWF has been protecting the future of nature.<blockquote>
You can locate a button in a form with "input" or outside a form with
<button <button type="button" onclick=" ">
What tags are used to identify computer code
<code>
3 new form elements added by HTML5
<datalist>, <keygen>, <output>
Examples of block-level elements (4)
<div>, <h1-h6>, <p>, <form>
Element is used to group related data in a form.
<fieldset>
Describe how datalist is used
<form action=" "> <input list="x"> <datalist id="x"> <option value=" ">
What tags are used for headers
<h1> - <h6>
Defines information about the document
<head>
What 2 pairs of tags are inside the <html> tags
<head> and <body>
Main set of tags
<html></html>
What tag is used to display a picture
<img>
What input type specifies a date and time input field, with no time zone.
<input type="datetime-local">
what defines a password field:
<input type="password">
code for a radio button
<input type="radio" name=" " value=" "> text
What will change all form values to their default values
<input type="reset">
what defines a button for sending form data to a form-handler.
<input type="submit">
What input type is used for input fields that should contain a telephone number.
<input type="tel">
Defines a one-line input field for text input
<input type="text">
what defines a one-line text input field
<input type="text">
What tags are used to identify keyboard input
<kbd>
Element defines a caption for the <fieldset> element.
<legend>
What are the tags for items in a list
<li>
Example of a link to an external style sheet
<link rel="stylesheet" href="mystyle.css">
Defines the relationship between a document and an external resource
<link>
Example of a meta element
<meta charset="UTF-8">
Defines metadata about an HTML document
<meta>
Defines an alternate content for users that do not support client-side scripts
<noscript>
What are the tags for an ordered list
<ol>
Repeating lines in a drop-down
<option value = " ">text line</option>
What elements defines what can be selected in a drop-down list
<option>
In a drop-down list, what element identifies the selections
<option> element
What tags are used for paragraphs
<p>
The letters "WHO" in the text below is an abbreviation of "World Health Organization". Use an HTML element to provide the specified abbreviation of "WHO". <p>The WHO was founded in 1948.</p>
<p>The <abbr title="World Health Organization">WHO</abbr> was founded in 1948.</p>
What tags are used to show a sample output from a computer program
<samp>
Defines a client-side script
<script>
What element is used for a drop-down list in a form
<select
What element defines a drop-down list:
<select>
Examples of inline elements (3)
<span>, <img>, <a>
What tag is used to make some text bolder
<strong>
Table data tags
<table><tr><td>
Table heading tags
<table><tr><th>
Example of a textarea command
<textarea name=" " rows=" " cols=" ">
Format for textarea
<textarea name=" " rows="10" cols="30">The cat.</textarea>
What element defines a multi-line input field
<textarea>
What 2 pairs of tags are inside the <head> tags
<title> and <style>
What are the tags for an unordered list
<ul>
What tag defines a variable
<var>
What was the first character encoding standard
ASCII
Why is "name" different in a checkbox and the same in a radio form
In checkbox you can select more than one, and in radio forms you only select one
Always use ____ if the form data contains sensitive or personal information
POST
What tags are used in description lists
The <dl> tag defines the description list, the <dt> tag defines the term (name), and the <dd> tag describes each term
What character encoding standard covers all characters
UTF-8
What does URL stand for
Uniform Resource Locator
How display a list horizontally
Use the CSS property float:left or display:inline
What are two frameworks
W3.CSS and Bootstrap
Hex numbers are preceeded by a ____ when indicating color
a "#"
What is a popular pseudo-class
a:hover
Specifies the charset used in the submitted form
accept-charset
The _____ defines the action to be performed when the form is submitted.
action attribute
How does the submit button know where to go
action attribute equals a file name
Specifies an address (url) where to submit the form
action=" "
Attributes for <form>
action=" " method=" "
How use a form to send an email
action=email method="post" enctype="text/plain"
A link can be
any html element (text and images are included)
Specifies if the browser should autocomplete the form
autocomplete
What attribute specifies whether a form or input field should have autocomplete on or off.
autocomplete
What attribute specifies that the input field should automatically get focus when the page loads.
autofocus
In external links, where does the text go
between the <a> tags
In a drop-down list where is the text located
between the <option> tags
A button's text does where
between the two button tags
How do you color the entire screen blue
body bgcolor="blue">
What attribute is used to put spacing around the cells in a table
border-spacing : 5px;
In checkboxes the attribute "name"
can be different
What attribute specifies that the input field is disabled, is unusable, and un-clickable
disabled
An inline element
does not start on a new line and only takes up as much width as necessary.
The <select> element defines a
drop-down list
A character entity can be
either a name or a number
When tag computer code, how do you preserve the new lines
enclose the <code></code> with <pre> and </pre>
Specifies the encoding of the submitted data
enctype
Is specified in the form's action attribute
form-handler
what is typically a server page with a script for processing input data.
form-handler
What attribute specifies one or more forms an <input> element belongs to if...
form.... if it references an "id" in the form
What attribute specifies the URL of a file that will process the input control when the form is submitted.
formaction
Which attribute is higher priority : formaction or action
formaction
What attribute changes "method"
formmethod
The "novalidate" attribute is used for
forms
What attribute specifies a name or a keyword that indicates where to display the response that is received after submitting the form.
formtarget
What is one attribute in a link
href=" "
How does href start in an external link
href="http:...
Scheme in a URL
http or https
Difference between http and https
https is secure
What does href stand for
hypertext reference
Where is the form-handler specified
in the form's action attribute
The most important element in a form element is the
input element
Textarea is located in a line like (2)
input or select
Sequential <img> are displayed :
left to right
Text properties : re line (1)
line-height
What attribute refers to a <datalist> element that contains pre-defined options for an <input> element.
list
The ____ attribute of the <input> element, must refer to the ___ attribute of the <datalist> element.
list - id
What attribute specifies the maximum allowed number of characters for the input field:
maxlength
The ___ attribute specifies the HTTP method (GET or POST) to be used when submitting the form data:
method
What attribute specifies "post" or "get
method = " "
What attribute specifies that the user is allowed to enter more than one value in the <input> element.
multiple
In radioboxes the attribute "name"
must be the same
Attributes for input type color
name
Attributes for input type date
name
Each input field must have a ___ attribute to be submitted. If omitted, the data of that input field will not be sent.
name attribute
Attributes for input type range
name, min, max
Attributes for input type number
name, min, max, step, value
Colors can be indicated by (3)
name, rgb numbers, hex numbers
What attribute is used with select in a drop-down list
name=" "
Buttons are normally
not in a form
Specifies that the browser should not validate the form.
novalidate
What attribute is a <form> attribute and specifies that the form data should not be validated when submitted.
novalidate
Change an ordered list's bullets to what shapes (5)
numbers, lower case letters, upper case letters, lower case Roman numerals, upper case Roman numerals
What elements are used in a drop-down list to select the items
option
What are the two types of lists
ordered and unordered
Specificity applies to the
ordering of your rules (element, class, id)
What attribute specifies a regular expression that the <input> element's value is checked against to limit the type of input characters
pattern
What attribute specifies a hint/example that describes the expected value of an input field
placeholder
The <keygen> element is used to
provide a secure way to authenticate users
How preselect a radio button
put "checked" within the input tag
How do you group selectors
put a coma between them
what attribute specifies that the input field is read only (cannot be changed):
readonly
What attribute specifies that an input field must be filled out before submitting the form.
required
What are the two attributes inside the <textarea> element
rows and cols
What is format for URL
scheme://prefix.domain:port/path/filename
What attribute is used in a drop-down list for items that are pre-selected
selected
What attribute is used in drop-downs to pre-select
selected
What does "padding" do in the box model
separates the contents from the border
When use "get"
short unsecure data
What attribute specifies the size (in characters) for the input field:
size
The <datalist> element...
specifies a list of pre-defined options for an input element
What is the first attibute in <img>
src=" "
What are the 3 attributes for <img>
src=" ", alt=" ", and width=" "
A block-level element
starts on a new line and takes up the full width available
What attribute specifies the legal number intervals for an <input> element.
step
Formmethod and formnovalidate are what type of input
submit
Formaction is what type of input
submit <input type="submit" formaction=" "
What are the 4 layout techniques
table, float, framework, flexbox
What is the style to put a border in a table
table, th, td {border: 1px solid blue;}
4 tags in a table
table, th, td, tr
Defines a form that is used to collect user input
the HTML <form> element
When width and height are included in an input tag,
the values are just numbers
What attribute defines which input in a form
type = " "
What attribute defines the input element
type attribute
Minimum attributes for <input>
type=" " name=" " value=" "
An unvisited link is
underlined and blue
A visited link is
underlined and purple
An active link is
underlined and red
How put space around contents in a table
use padding
What attribute is used with <option> in drop-down lists
value
what attribute specifies the initial value for an input field:
value
What are the two possible attributes in the <option> tag
value=" " and selected
When use GET, the submitted form data will be
visible in the page address field
Form data is sent to a
web page on the server
When use "post"
when data must be secure
The <meta> element is used to specify
which character set is used, page description, keywords, author, and other metadata.
Does <textarea> have a closing tag
yes </textarea>