Use LEFT and RIGHT arrow keys to navigate between flashcards;
Use UP and DOWN arrow keys to flip the card;
H to show hint;
A reads text to speech;
32 Cards in this Set
- Front
- Back
In HTML are white spaces ignored ? |
All spaces are treated as one space on the display. |
|
How do you tell the browser what version of html you are using ? |
<!DOCTYPE HTML> |
|
List some XHtml Rules |
All tags must have a closing tag. |
|
Do you have to use XHtml when using Html ? |
No the browsers will forgive mistakes but the display in differnt browsers may be unpredictable. |
|
What two main sections are there in a HTML Page ? |
<head> <!-- Meta Data, Javascript, Styles, resource links --> <!-- content --> |
|
What HTML tag do you use for a title ? |
<title>Your Page Title</title> |
|
What are the header Tags ? |
<h1>HTML Header </h1> |
|
What is the the Paragraph Tag ? |
<p>your paragraph. </p> |
|
How do you add a line break to a page. |
<br/> |
|
What is a http Message made up of ? |
headers & body |
|
What are the different size header tags? |
<h1> - largest header size to |
|
What is the box model? |
block elements act as a "box". |
|
What does a style sheet do? |
Defines a stylesheet |
|
How do you link a css to an html document?
|
<link rel="stylesheet" type="text/css" href="main.css"/>
|
|
What is the cascading order?
|
External sheet - Style tag - Inline styles |
|
how to use an ID in css |
#exampleID |
|
How to use a class in css |
.exampleClass |
|
What does the <pre> tag do? |
all text within tag will keep its formatting as it is |
|
What is the function of the <code> tag? |
code tag displays code in a web page without running it. Displays as code to be displayed yadayada |
|
What do html forms allow users to do? |
html form allows user to input data. |
|
How do you create a text field? |
<input type="text"/> |
|
How do you create a button? |
<input type="button" value="test"/> -button saying "test" |
|
How do you create a password field? And what is the function of a password field? |
<input type="password"/> - password field, uses dots.
|
|
How do you create a file button? |
<input type="file"/> |
|
What is another way of creating a button?
|
<button>OK<button/> - button saying OK |
|
How do you create a text area? |
<textarea> <textarea/> - text area |
|
How do you create a checkbox? |
<input type="checkbox"/> |
|
How do you set the length limit for a text element? |
maxlength |
|
What can you do to control the amount of data that may be entered into a text area? |
Set a max collumns and max rows. Remember to set a max length for the rows. |
|
What does a placeholder do? |
Only in html5 and adds a greyed out text placeholder for password or normal text fields
|
|
How do you add a label to a form element? |
<label for= "test">TestLabel</label> <input type="text" name="test" id="test"/> |
|
What is the function of a <fieldset> tag? |
for grouping fields or sections of forms together. |