Section 1

Preview this deck

What does href stand for

Front

Star 0%
Star 0%
Star 0%
Star 0%
Star 0%

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Active users

0

All-time users

0

Favorites

0

Last updated

6 years ago

Date created

Mar 1, 2020

Cards (281)

Section 1

(50 cards)

What does href stand for

Front

hypertext reference

Back

Line of code for an external link

Front

<a target="_blank " href="url">link text</a>

Back

What are the tags for items in a list

Front

<li>

Back

serif fonts all have

Front

feet

Back

Table data tags

Front

<table><tr><td>

Back

sans-serif means

Front

without feet

Back

How use "id"

Front

Put "id=xxx" in the html code, and #xxx in style

Back

What are the two types of lists

Front

ordered and unordered

Back

What tag is used for a new line

Front

<br>

Back

What are the tags for an unordered list

Front

<ul>

Back

Two ways to set color in a style

Front

the name of the color, or the hex code

Back

How do you color the entire screen blue

Front

<style> body {background-color:blue;} or body {background-color:(0000ff);} </style> (hex code)

Back

Line of code for the link to a an internal link (bookmark)

Front

<a href="#tips">link text</a>

Back

What tag is used to make some text bolder

Front

<strong>

Back

What 2 pairs of tags are inside the <html> tags

Front

<head> and <body>

Back

If you specify a font family, you should also

Front

specify a backup family

Back

When add picture as external link, where put it

Front

in place of or after the link text <a target="_blank " href="url"><img src=" "></a>

Back

Name 3 font families

Front

Helvitica, sans-serif, fantasy, cursive, monospace

Back

What 2 pairs of tags are inside the <head> tags

Front

<title> and <style>

Back

Should you use both width=" " and height=" " in <img>

Front

No. Just one or the other

Back

Can you put emphasis tags inside text bolder tags

Front

yes

Back

Line of code for an internal link (bookmark)

Front

<h2 id="tips">HEADING</h2>

Back

What tags are used for headers

Front

<h1> - <h6>

Back

What attribute is accessed if there is not picture

Front

alt=" "

Back

To color all h2 elements green

Front

<style> h2{color:green;} </style>

Back

What command is used to change the type

Front

font-family :

Back

Table heading tags

Front

<table><tr><th>

Back

What are the tags for an ordered list

Front

<ol>

Back

What tag for an internal links

Front

<a>

Back

What are the two attributes in an external link

Front

target=" " and href=" "

Back

What are the 3 attributes for <img>

Front

src=" ", alt=" ", and width=" "

Back

How select specific elements

Front

use id or class

Back

What is the target attribute in an external link and what is it used for

Front

target="_blank" to open another window outside your domain

Back

How use "class"

Front

Put "class=xxx" in the html code and .xxx in style

Back

What attributes are in internal links

Front

href

Back

In an external link, where does the href and target go

Front

inside the first <a> tag

Back

What is the first attibute in <img>

Front

src=" "

Back

Main set of tags

Front

<html></html>

Back

What line precedes the title tag within the header tags

Front

<meta charset = "utf-8">

Back

Difference between local and remote url in an external link

Front

Remote has "http://www." and local does not

Back

How specify a backup font family

Front

put another family (not in quotes) after a coma after the specified family

Back

What tag for an external link

Front

<a>

Back

How do you specify a specific font family

Front

put it in quotes

Back

What tag is used to display a picture

Front

<img>

Back

What tags are used for paragraphs

Front

<p>

Back

Comments in HTML

Front

<!-- -->

Back

First line of HTML file

Front

<!DOCTYPE html>

Back

In <img>, width is expressed as just

Front

a number ie (width="200") without scale

Back

What command is used to change the size of the type

Front

font-size :

Back

What tag is used for emphasis

Front

<em>

Back

Section 2

(50 cards)

Word grouping tag

Front

<span>

Back

How does href start in an external link

Front

href="http:...

Back

How keep an element from wrapping around

Front

clear

Back

Text properties : re line (1)

Front

line-height

Back

In a drop-down list, what element identifies the selections

Front

<option> element

Back

What input type resets the data fields to their default values

Front

<input type = "reset">

Back

The most important element in a form element is the

Front

input element

Back

Is <span> an in-line or block element

Front

in-line

Back

What does "padding" do in the box model

Front

separates the contents from the border

Back

Absolute positioning put the element

Front

anywhere on the page

Back

How do you group selectors

Front

put a coma between them

Back

Sequential <img> are displayed :

Front

left to right

Back

How wrap an element or img around another

Front

float

Back

What input type defines one line of text

Front

<input type = "text">

Back

What attribute specifies the initial value for an input field:

Front

the value attribute

Back

Tag that groups multiple elements

Front

<div>

Back

What attribute is used in drop-downs to pre-select

Front

selected

Back

How can you change the size of a <div>

Front

use properties "width : . . . " and/or "height : . . ."

Back

The <datalist> element...

Front

specifies a list of pre-defined options for an input element

Back

The <keygen> element is used to

Front

provide a secure way to authenticate users

Back

Text properties : re font (4)

Front

font-family font-size font-weight font-style

Back

How specify font-size

Front

em or px

Back

When put a space between selectors

Front

when you want the rule to apply to the descendents

Back

What positioning keeps elements relative to the screen

Front

fixed

Back

In the box mode, the margin does what

Front

separates the element from other elements

Back

How center a <div> on a page

Front

use property : margin : auto;

Back

What input type defines a password

Front

<input type = "password">

Back

How position elements in front of one another

Front

z-index

Back

To use z-index you must be using ____ positioning

Front

absolute

Back

The <select> element defines a

Front

drop-down list

Back

Text properties : re text (2)

Front

text-align text-decoration

Back

3 new form elements added by HTML5

Front

<datalist>, <keygen>, <output>

Back

What is a popular pseudo-class

Front

a:hover

Back

When you use multiple classes you

Front

have several classes in style and you put more than one in the element in the html

Back

Specificity applies to the

Front

ordering of your rules (element, class, id)

Back

What are the 3 aspects for border

Front

thickness, style, color

Back

What are the 4 parts of the box model

Front

margin, border, padding, content

Back

All elements are considered a _____ by the browser

Front

box

Back

What is the rule for all p tags that have class=warning

Front

p.warning

Back

Is <div> an in-line or block element

Front

block

Back

What input type sends data to a form handler

Front

<input type = "submit">

Back

What attribute defines the input element

Front

type attribute

Back

If you lose text in a <div> due to width, how fix it

Front

use the property "overflow"

Back

What element defines a multi-line input field

Front

<textarea>

Back

Relative positioning puts the element

Front

where it would normally appear on the page

Back

In external links, where does the text go

Front

between the <a> tags

Back

What line of code, allows you to click a button, and display an alert message

Front

<input type="button" onclick="alert('Hello World!')" value="Click Me!">

Back

Sequential text elements are displayed

Front

top to bottom

Back

Text properties : re color (2)

Front

color background-color

Back

What are the two attributes inside the <textarea> element

Front

rows and cols

Back

Section 3

(50 cards)

Format for img when NOT using style attribute

Front

<img src="url" alt="text" width="W" height="H" Note : height is optional, and not include "px"

Back

What attribute specifies that an input field must be filled out before submitting the form.

Front

required

Back

If img is in another folder

Front

put "/ folder /" in front of the file

Back

What tag tells the browser that there is an address

Front

<address> (usually puts the text in italics)

Back

What tag defines text that is from another source

Front

<blockquote>

Back

To make a cell span more than one row, use

Front

the rowspan attribute

Back

Internal link code

Front

<a href="url">link text</a>

Back

What attribute specifies a hint that describes the expected value of an input field

Front

placeholder

Back

To add a caption to a table, use

Front

the <caption> tag

Back

What tag identifies programming code

Front

<code>

Back

3 ways to add CSS to html

Front

inline, internal, external

Back

What attributes does 'area' have (4)

Front

shape=" " coords=" " alt=" " href=" ">

Back

What tag reverses the direction of text

Front

<bdo dir = "rtl"> line of text </bdo>

Back

A visited link is

Front

underlined and purple

Back

What tag defines pre-formatted text

Front

<pre>

Back

How put space around contents in a table

Front

use padding

Back

The <map> tag contains a number of <area> tags, that

Front

define the clickable areas in the image-map:

Back

What attribute in the <map> tag is associated with the <img>'s usemap attribute and creates a relationship between the image and the map.

Front

name

Back

What tag defines a variable

Front

<var>

Back

To combine borders together in a table use the style command

Front

border-collape : collapse;

Back

How specify the number of characters for an input field

Front

maxlength (ie maxlength = "10")

Back

Format for img when using style attribute

Front

<img src="url" alt="text" style="width:Wpx;height:Hpx;">

Back

To define a special style for a special table

Front

add an id attribute to the table

Back

What tag tells the browser that there is an abbreviation

Front

<abbr>

Back

What attribute is used to put spacing around the cells in a table

Front

border-spacing : 5px;

Back

Colors can be indicated by (3)

Front

name, rgb numbers, hex numbers

Back

What is the style to put a border in a table

Front

table, th, td {border: 1px solid blue;}

Back

4 tags in a table

Front

table, th, td, tr

Back

How float an image around text

Front

put "float:right; in style

Back

What tag puts quotes around text

Front

<q>

Back

What is an image with a clickable area

Front

image-map

Back

Links outside this web site will have

Front

href = "http://www.

Back

An unvisited link is

Front

underlined and blue

Back

An active link is

Front

underlined and red

Back

Links on the same web site will have

Front

href = "website.com"

Back

What tag tells the browser that there is a title

Front

<cite> (usually puts the text in italics)

Back

Hex numbers are preceeded by a ____ when indicating color

Front

a "#"

Back

How many standard color names are there

Front

140

Back

What tag defines computer output

Front

<samp>

Back

What tag defines keyboard input

Front

<kbd>

Back

How change the bullet in a unordered list to a circle

Front

<ul style="list-style-type:circle">

Back

To make a cell span more than one column, use

Front

the colspan attribute

Back

Where is the caption tag put in the code

Front

in the html

Back

What attribute specifies that the input field is read only (cannot be changed):

Front

the readonly attribute

Back

Line of code with inline CSS to color the word 'Hello' blue

Front

<h1 style="color:blue;">Hello</h1>

Back

How include internal CSS files in HTML :

Front

<head> <link rel="stylesheet" href="styles.css"> </head>

Back

What attribute in img references the image-map being used and how is it written

Front

usemap - name, in quotes, with a # in front of it

Back

A link can be

Front

any html element (text and images are included)

Back

What attribute specifies the width of the input box

Front

size (ie size = "40")

Back

Shades of gray are created by

Front

using the same number for r, g, and b, or by using the same hex numbers for r, g, and b (ie rgb(200,200,200)

Back

Section 4

(50 cards)

Defines a one-line input field for text input

Front

<input type="text">

Back

Defines the relationship between a document and an external resource

Front

<link>

Back

What two attributes are common in <div>'s and <span>'s

Front

style and class

Back

Iframe syntax

Front

<iframe src="URL"></iframe>

Back

An iframe can be used as the _______ for a link.

Front

target frame

Back

Defines metadata about an HTML document

Front

<meta>

Back

Examples of inline elements (3)

Front

<span>, <img>, <a>

Back

What are the 4 layout techniques

Front

table, float, framework, flexbox

Back

An iframe is used to

Front

display a web page within a web page.

Back

What is format for URL

Front

scheme://prefix.domain:port/path/filename

Back

Scheme in a URL

Front

http or https

Back

Element is used to group related data in a form.

Front

<fieldset>

Back

Defines a client-side script

Front

<script>

Back

What character encoding standard covers all characters

Front

UTF-8

Back

In javascript, to display or change an fontSize write

Front

document.getElementById("demo").style.fontSize = "25px";

Back

A character entity can be

Front

either a name or a number

Back

Always use ____ if the form data contains sensitive or personal information

Front

POST

Back

What was the first character encoding standard

Front

ASCII

Back

How change bullet in a ordered list to a lower case letter

Front

<ol type="a">

Back

Example of a meta element

Front

<meta charset="UTF-8">

Back

What does URL stand for

Front

Uniform Resource Locator

Back

A block-level element

Front

starts on a new line and takes up the full width available

Back

Difference between http and https

Front

https is secure

Back

How display a list horizontally

Front

Use the CSS property float:left or display:inline

Back

Examples of block-level elements (4)

Front

<div>, <h1-h6>, <p>, <form>

Back

In javascript, to display or change an image write

Front

document.getElementById("image").src = "picture.gif";

Back

What attribute specifies "post" or "get

Front

method = " "

Back

In javascript, to display or change a color write

Front

document.getElementById("demo").style.color = "red";

Back

Example of a link to an external style sheet

Front

<link rel="stylesheet" href="mystyle.css">

Back

Defines a form that is used to collect user input

Front

the HTML <form> element

Back

The _____ defines the action to be performed when the form is submitted.

Front

action attribute

Back

Element defines a caption for the <fieldset> element.

Front

<legend>

Back

How do you enter a "class"

Front

in style write ".label", in html write "class=label"

Back

The <meta> element is used to specify

Front

which character set is used, page description, keywords, author, and other metadata.

Back

The ___ attribute specifies the HTTP method (GET or POST) to be used when submitting the form data:

Front

method

Back

Change an unordered list's bullets to what shapes (4)

Front

disc, circle, square, none

Back

What tags are used in description lists

Front

The <dl> tag defines the description list, the <dt> tag defines the term (name), and the <dd> tag describes each term

Back

How do you remove the border in an iframe

Front

style="border:none"

Back

What is the width attribute in iframe

Front

width="200"

Back

What are 5 attributes in iframe

Front

src, width, height, style, and name

Back

An inline element

Front

does not start on a new line and only takes up as much width as necessary.

Back

In javascript, to display or change an element write

Front

document.getElementById("id").innerHTML = "Hello";

Back

Defines information about the document

Front

<head>

Back

Is specified in the form's action attribute

Front

form-handler

Back

What are two frameworks

Front

W3.CSS and Bootstrap

Back

The ___ attribute of the link must refer to the ___ attribute of the iframe:

Front

target - name

Back

Change an ordered list's bullets to what shapes (5)

Front

numbers, lower case letters, upper case letters, lower case Roman numerals, upper case Roman numerals

Back

Defines an alternate content for users that do not support client-side scripts

Front

<noscript>

Back

Defines a default address or a default target for all links on a page

Front

<base>

Back

Each input field must have a ___ attribute to be submitted. If omitted, the data of that input field will not be sent.

Front

name attribute

Back

Section 5

(50 cards)

How does the submit button know where to go

Front

action attribute equals a file name

Back

what defines a button for sending form data to a form-handler.

Front

<input type="submit">

Back

Example of a textarea command

Front

<textarea name=" " rows=" " cols=" ">

Back

code for a radio button

Front

<input type="radio" name=" " value=" "> text

Back

How preselect a radio button

Front

put "checked" within the input tag

Back

what is typically a server page with a script for processing input data.

Front

form-handler

Back

Attributes for input type range

Front

name, min, max

Back

What element defines a drop-down list:

Front

<select>

Back

You can locate a button in a form with "input" or outside a form with

Front

<button <button type="button" onclick=" ">

Back

Repeating lines in a drop-down

Front

<option value = " ">text line</option>

Back

Attributes for input type color

Front

name

Back

How use a form to send an email

Front

action=email method="post" enctype="text/plain"

Back

A button's text does where

Front

between the two button tags

Back

What elements defines what can be selected in a drop-down list

Front

<option>

Back

What attribute is used in a drop-down list for items that are pre-selected

Front

selected

Back

Format for textarea

Front

<textarea name=" " rows="10" cols="30">The cat.</textarea>

Back

Attributes for input type number

Front

name, min, max, step, value

Back

What attribute is used with select in a drop-down list

Front

name=" "

Back

Attributes for input type date

Front

name

Back

Form data is sent to a

Front

web page on the server

Back

What attribute is used with <option> in drop-down lists

Front

value

Back

What elements are used in a drop-down list to select the items

Front

option

Back

Textarea is located in a line like (2)

Front

input or select

Back

What are the two possible attributes in the <option> tag

Front

value=" " and selected

Back

Specifies that the browser should not validate the form.

Front

novalidate

Back

First line in a drop-down

Front

<Select name= " ">

Back

When use "post"

Front

when data must be secure

Back

Where is the form-handler specified

Front

in the form's action attribute

Back

In checkboxes the attribute "name"

Front

can be different

Back

What element is used for a drop-down list in a form

Front

<select

Back

What attribute defines which input in a form

Front

type = " "

Back

In a drop-down list where is the text located

Front

between the <option> tags

Back

Minimum attributes for <input>

Front

type=" " name=" " value=" "

Back

Does <textarea> have a closing tag

Front

yes </textarea>

Back

Specifies an address (url) where to submit the form

Front

action=" "

Back

When use "get"

Front

short unsecure data

Back

In radioboxes the attribute "name"

Front

must be the same

Back

What will change all form values to their default values

Front

<input type="reset">

Back

What input type is used for input fields that should contain a telephone number.

Front

<input type="tel">

Back

what defines a password field:

Front

<input type="password">

Back

The ____ attribute of the <input> element, must refer to the ___ attribute of the <datalist> element.

Front

list - id

Back

Buttons are normally

Front

not in a form

Back

Specifies if the browser should autocomplete the form

Front

autocomplete

Back

Attributes for <form>

Front

action=" " method=" "

Back

what defines a one-line text input field

Front

<input type="text">

Back

Specifies the encoding of the submitted data

Front

enctype

Back

Specifies the charset used in the submitted form

Front

accept-charset

Back

When use GET, the submitted form data will be

Front

visible in the page address field

Back

What input type specifies a date and time input field, with no time zone.

Front

<input type="datetime-local">

Back

Describe how datalist is used

Front

<form action=" "> <input list="x"> <datalist id="x"> <option value=" ">

Back

Section 6

(31 cards)

What attribute is a <form> attribute and specifies that the form data should not be validated when submitted.

Front

novalidate

Back

What attribute refers to a <datalist> element that contains pre-defined options for an <input> element.

Front

list

Back

What attribute specifies the legal number intervals for an <input> element.

Front

step

Back

What tags are used to show a sample output from a computer program

Front

<samp>

Back

What attribute specifies the maximum allowed number of characters for the input field:

Front

maxlength

Back

Which attribute is higher priority : formaction or action

Front

formaction

Back

What attribute changes "method"

Front

formmethod

Back

When tag computer code, how do you preserve the new lines

Front

enclose the <code></code> with <pre> and </pre>

Back

Example of bi-directional statement

Front

<bdo dir="rtl" In the begining</bdo>

Back

What attribute specifies a regular expression that the <input> element's value is checked against to limit the type of input characters

Front

pattern

Back

what attribute specifies the initial value for an input field:

Front

value

Back

what attribute specifies that the input field is read only (cannot be changed):

Front

readonly

Back

What attribute specifies that the user is allowed to enter more than one value in the <input> element.

Front

multiple

Back

What attribute specifies the URL of a file that will process the input control when the form is submitted.

Front

formaction

Back

What attribute specifies whether a form or input field should have autocomplete on or off.

Front

autocomplete

Back

What attribute specifies that the input field is disabled, is unusable, and un-clickable

Front

disabled

Back

What attribute specifies a hint/example that describes the expected value of an input field

Front

placeholder

Back

What attribute specifies that the input field should automatically get focus when the page loads.

Front

autofocus

Back

What attribute specifies the size (in characters) for the input field:

Front

size

Back

When width and height are included in an input tag,

Front

the values are just numbers

Back

What attribute specifies a name or a keyword that indicates where to display the response that is received after submitting the form.

Front

formtarget

Back

What attribute specifies that an input field must be filled out before submitting the form.

Front

required

Back

Formmethod and formnovalidate are what type of input

Front

submit

Back

Why is "name" different in a checkbox and the same in a radio form

Front

In checkbox you can select more than one, and in radio forms you only select one

Back

Formaction is what type of input

Front

submit <input type="submit" formaction=" "

Back

The "novalidate" attribute is used for

Front

forms

Back

What attribute specifies one or more forms an <input> element belongs to if...

Front

form.... if it references an "id" in the form

Back

What tags are used to identify keyboard input

Front

<kbd>

Back

What tags are used to identify computer code

Front

<code>

Back

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.

Front

<blockquote cite="http://www.worldwildlife.org> For 50 years, WWF has been protecting the future of nature.<blockquote>

Back

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>

Front

<p>The <abbr title="World Health Organization">WHO</abbr> was founded in 1948.</p>

Back