lesson 10
how to create a select
<label for="cars">Choose a car:</label><select name="cars" id="cars"> <option value="volvo">Volvo</option> <option value="saab">Saab</option> <option value="mercedes">Mercedes</option> <option value="audi">Audi</option></select>
how to create text
<p></p>
How do I use selection lists?
<select> You use select to determine what happens if you select a specific item.
what can a checkbox be used for
Checkboxes are used when there are lists of options and the user may select any number of choices, including zero, one, or several. In other words, each checkbox is independent of all other checkboxes in the list, so checking one box doesn't uncheck the others.
what can select be used for
selecting an option
What Should a cols do?
specifiy the default width of the textarea object.
How do I avoid common security errors.
You can encrypt or protect your users data, and you can have multiple failsafe's or a low amount of channels for hackers to attack you from.
How do I use user data protection?
You can use encryption as a possible form of user data protection. Its primary use is to protect user data from hackers, and other attacks.
How should I use a Multiple Selection Box
You should use a Multi. Selection box to create a dropdown menu with many options.
What is a row?
a strip of a column
How can I create a wrap?
align
What does an email object do?
allow emails to be used
What Should a row do?
allow you to store data in a row like shape
How will a row affect a table?
by putting a row before a table
How can I create a cols?
cols()
How do you use a hidden object?
var x = document.createElement("INPUT");x.setAttribute("type", "hidden");
What is a color object?
var x = document.getElementById("myColor"); Try it Yourself »
How do you use a text object?
var x = document.getElementById("myText"); Try it Yourself »
why refer to a form element in the form object's elements array in the following two ways:
because those are the only two you can refer to it
how to create a checkbox
<input type="checkbox">
What are some common security errors?
Data Breach, DDOS takedown, and server takedown.
what can a reset be used for
The reset button is used to reset all the input fields in HTML forms. It gets added using the <input> tag attribute type.
What should I be using spell check for?
To improve, in a written in text area for the user their grammar and to fix simple mistakes for them.
how to create a button
<button type="button">Click Me!</button>
how to create "hidden" field in html
<input type="hidden">
how to create a radio in html
<input type="radio"
how to create a submit
<input type="submit"> Try it Yourself »
how to create a text area
<label for="w3review">Review of W3Schools:</label><textarea id="w3review" name="w3review" rows="4" cols="50">At w3schools.com you will learn how to make a website. They offer free tutorials in all web development technologies.</textarea>
What is a wrap?
A wrap specifies how the text is to be wrapped inside the textarea object.
how can refer to a form element in the form object's elements array in the following two ways:
By its name By its index number
what can a button be used for
In modern clothing and fashion design, a button is a small fastener, now most commonly made of plastic but also may be made of metal, wood, or seashell, that joins two pieces of fabric together. ...
What should a wrap do for my page?
It aligns the text or image to a certain side.
Among us
Mr G. Sus
how to send data from html form
Once the form data has been validated on the client-side, it is okay to submit the form. And, since we covered validation in the previous article, we're ready to submit!
What is a text object?
Text objects are used for adding information to the document, such as labels etc. They can be moved around and positioned anywhere in the sheet area, even to areas covered by other sheet objects. It can also be accessed from the Object menu, when the text object is the active object
What is a checkbox object?
The Checkbox object represents a checkbox in an HTML form. For each instance of an <input type="checkbox"> tag in an HTML form, a Checkbox object is created. You can access a Checkbox object by indexing the elements array (by number or name) of the corresponding form or by using getElementById().
What is a radio object?
The Radio object represents a radio button in an HTML form. For each instance of an <input type="radio"> tag in an HTML form, a Radio object is created. You can access a Radio object by indexing the elements array (by number or name) of the corresponding form or by using getElementById().
What is a range object?
The Range interface represents a fragment of a document that can contain nodes and parts of text nodes. A range can be created by using the Document. ... Range objects can also be retrieved by using the getRangeAt() method of the Selection object or the caretRangeFromPoint() method of the Document object.
From a Web developer's perspective, what is the most common need for JavaScript
To control and create your website the way you want to
How can I create a Row?
You can create a table using the <table> element. Inside the <table> element, you can use the <tr> elements to create rows, and to create columns inside a row you can use the <td> elements. You can also define a cell as a header for a group of table cells using the <th> element.
what can a text be used for
info
What is a cols?
its a column
What does a color object do?
they give you the option of color
what is another use for JavaScript
Angular and react are apps that give you javascript
What is a hidden object?
Hidden Object Game. Edit page. A hidden object game (sometimes called hidden picture) is a genre of puzzle video game in which the player must find items from a list that are hidden within a picture. Hidden object games are a popular trend in casual gaming, and are comparatively inexpensive to buy.
what can a radio be used for in html
In HTML, a radio button is used to select one of many given choices. Radio buttons are shown in radio groups to show a set of related options, only one of which can be selected
How do I create a URL object?
In your Java program, you can use a String containing this text to create a URL object: URL myURL = new URL("http://example.com/"); The URL object created above represents an absolute URL. An absolute URL contains all of the information necessary to reach the resource in question.
How does spellcheck affect the user experience?
It improves it by fixing simple user mistakes in spelling, making it more clear what they wish to type out.
what can textarea be used for
The <textarea> element is used to create a text input area of unlimited length. By default, text in a <textarea> is rendered in a monospace or fixed-width font, and text areas are most often used within a parent <form> element.
What is a password object?
The password field (<input type="password">) within your form can be accessed and manipulated using JavaScript via the corresponding Password object.
how to retrieve and verify data form from the user through an HTML form
When you want to collect data from your users, forms in HTML are a great way to accomplish that. The surrounding tag for forms is the form tag. In addition, it will require two attributes, the action attribute and the method attribute
what can a submit be used for
submitting an answer
how to create a password
<div class="container"> <form action="/action_page.php"> <label for="usrname">Username</label> <input type="text" id="usrname" name="usrname" required> <label for="psw">Password</label> < input type="password" id="psw" name="psw" pattern="(?=.*\d)(?=.*[a-z])(?=.*[A-Z]).{8,}" title="Must contain at least one number and one uppercase and lowercase letter, and at least 8 or more characters" required> <input type="submit" value="Submit"> </form></div><div id="message"> <h3>Password must contain the following:</h3> <p id="letter" class="invalid">A <b>lowercase</b> letter</p> <p id="capital" class="invalid">A <b>capital (uppercase)</b> letter</p> <p id="number" class="invalid">A <b>number</b></p> <p id="length" class="invalid">Minimum <b>8 characters</b></p></div>
What is a file object?
A File object is NOT the actual file. It does not contain the data that the file holds. It is an object that holds methods that affect a particular file or directory. It works as an interface between a program and the functions of the operating system that do the actual file manipulation.
Where do I apply a file object?
A File object is created by passing in a String that represents the name of a file, or a String or another File object. For example, File a = new File("/usr/local/bin/geeks"); defines an abstract file name for the geeks file in directory /usr/local/bin.
What is a Multipole Selection Box
A Multiple Selection Box is a list of selections in a box, like a dropdown menu with many options.
How do I create a range object?
A Range object is created without parameters: let range = new Range(); Then we can set the selection boundaries using range. setStart(node, offset) and range.
What is a selection list?
A selection list is used in a form to determine what happens if something is selected eg "cars"
What is spell check?
Checks your spelling.
How will a wrap affect my textarea?
It changes weather the text is aligned on the textbox to the left or right.
How will a cols affect a page?
It modifies the default with of textareas, making text appear ina smaller or bigger area.
How do you use a checkbox object?
The <input type="checkbox"> defines a checkbox. The checkbox is shown as a square box that is ticked (checked) when activated. Checkboxes are used to let a user select one or more options of a limited number of choices. Tip: Always add the <label> tag for best accessibility practices!
how to create a reset
Type the <input type="reset"> tag into the code towards the top and/or bottom of the HTML form. Close the form after all input fields are entered with a final </form> tag. Save and preview your new adjusted form with the new reset button.
What is user data protection?
User Data protection is the protection of user data, or data in general.
How can I use spell check?
You can use spellcheck to improve your grammar, and fix mistakes.
What is a URL object?
an object that allows urls to be attacked or used as links
What is an email object?
an object that lets you use your email
what can "hidden" be used for
hiding things
what can a password be used for
protecting sensitive information or logging in
How do you apply a password object?
var x = document.getElementById("myPsw"); Try it Yourself »
How do you use a radio object?
var x = document.getElementById("myRadio");