



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




//Contains the title of the page, and can link to Javascript Title of Page
//This is where we find all the body information
//Used to make text bolded
//Used to emphasize text with italics
//Creates a line break
//An anchor tag that is used to create links between pages; needs an HREF to tell it where to go Home
//Used to create headings; is largest and boldest, is the opposite //Used to define a paragraph on a page, can also center with:
//inherently double space themselves //cannot out block elements or other
inside them
//Used to create a horizontal line across the page; can set it's width:: //Used to place images on a page; must also contain the src attributes
//src - file name and path //alt - alternate text for the image //class or id - label for the image Common CSS tags:
//the width in pixels of the border around the image, with 0 being no border
//used to bring audio to a page; audio is embedded in sub tag
//autoplay //controls //loop
and //creates an unordered list
Words
//action: where is the form sent, who receives and processes it? //method: Set to =get or =post depending on security concerns
//input: core tag for soliciting input from consumer; ranges from textual input to radio to check boxes; use name attribute for form processing and JavaScript
// basic type for getting text info only;
//defines the physical width of the box
//defines the max number of characteristics the user can input
//makes text already present in the field
//sets the name of the form for use in JavaScript
//textbox with basic data validation
//requires an @ sign and data on either side
//textbox with required http:
//textbox for phone #; some browsers don't support data validation, so it would basically just be text
//text box with color picker UI
//text box with date picker/calendar UI
//text box with data validation for number and
maxlength:
increment/decrement arrows
//can also set min and max values //giving it a value gives it a default //step sets up how much it increments on click
//slider UI for number data; needs an output as well, and scripting if you want the use to see the value
//identical to type text except that letters are ****
//creates a checkbox; values will either be Yes or No depending on whether the user checks the box;
//textbox starts checked
//radio buttons a user can select //can only select one //create multiple names by listing multiple lines with the same name
Dog Cat Bird
//creates a button that will clear all the contents of the form if the user clicks it; lets them start over
//creates a submit button that causes the form to be submitted when the user clicks it
//the value explains what is inside the button
//loads an image that when the user clicks it the user clicks to submit the contents of the form
//need to provide an src tag
The incarnation of the input tag is for passing information along to the form processor; the user never sees the contents
//also commonly used when an object fails a h5 data validation
pattern="\d{3} [-] \d{3} [-] \d{4}"
//patterns give a regular expression to give a formula to compare data against
//the pattern will only validate if a user enters a phone number with dashes
//preselects the form object for the user, such as putting the cursor there to start
File Folder Paths/References
//goes from the folder it is saved in to the images folder and gets pic2.jpg
//goes from the folder it is saved in up a folder and finds classpage
//goes up to the highest folder and then starts looking for files
//would work well on a server but perhaps not on a laptop