# HTML Input Attributes
● The value Attribute
The value attribute specifies the initial value for an input field.
● The readonly Attribute
The readonly attribute specifies that the input field is read only.
● The value Attribute
The disabled attribute specifies that the input field is disabled.
This input field is unusable and un-clickable, and its value will not be sent when submitting the form.
● The size Attribute
The size attribute specifies the size for the input field.
● The maxlength Attribute
T...
Trending Posts
Wednesday, March 8, 2017
Tuesday, March 7, 2017
# HTML Input Types
● The Input Type Text
<input type="text"> defines a one-line text input field.
● Input Type Password
<input type="password"> defines a password field.
● Input Type Submit
<input type="submit"> defines a button for submitting form data to a form-handler.
The form-handler is typically a server page with a script for processing input data.
This is specified in the form's action attribute.
If, Omitting the submit button's value attribute, the button will get a default text "submit".
● Input Type R...
You Might Also Like
You Might Also Like
Monday, March 6, 2017
# HTML Form Elements
● The <input> Element
The most important form element is the <input> element.
This element can be displayed in several ways, depending on the type attribute.
● The <select> Element
The <select> element defines a drop-down list.
The <option> elements defines an option that can be selected.
By default, the first item in the drop-down list is selected.
To define a pre-selected option, add the selected attribute to the option.
● The <textarea> Element
The <textarea> element defines a multi-line input...
You Might Also Like
You Might Also Like
# HTML Forms
● The <form> Element
The HTML <form> element defines a form that is used to collect user input.
An HTML form contains form elements.
Form elements are different types of input elements, like text fields, checkboxes, radio buttons, submit buttons, and more.
● The <input> Element
The <input> element is the most important form element. This element can be displayed in several ways, depending on the type attribute.
● Text Input
<input type="text"> defines a one-line input field for text input.
● Radio Butt...
You Might Also Like
You Might Also Like
Sunday, March 5, 2017
# HTML iframe Exercise
● Exercise 1
Create an iframe with a URL address that goes to https://www.w3schools.com.
● Exercise 2
Set the width of the iframe to 500 pixels.
● Exercise 3
Remove the border from the iframe.
● Exercise 4
Change the color of the iframe's border to red.
...
You Might Also Like
You Might Also Like
# HTML Classes Exercise
● Exercise 1
Add the "cites" class to the <div> element.
● Exercise 2
Create a class selector named "special". Add the color property with the value "red" inside "special". At last, add the "special" class to <span> and <p>.
● Exercise 3
Create a class selector named "cities". Add the following styles.
black background color
white text color
20 pixels padding and margin
Add the class "cities" to the <div> element.
...
You Might Also Like
You Might Also Like
# HTML List Exercise
● Exercise 1
Add a list item with the text "Coffee" inside <ul>.
● Exercise 2
Change the list below to an ordered list.
● Exercise 3
Change the list below to display squares instead of bullets.
● Exercise 4
Change the list below to display letters instead of numbers.
● Exercise 5
Complete the description list below.
● Exercise 6
Make the list below display horizontally.
...
You Might Also Like
You Might Also Like
Subscribe to:
Posts (Atom)