HTML5


Review completed 01/14/21 using W3Schools


Table Example

Company Contact Country
Alfreds Futterkiste Maria Anders Germany
Centro comercial Moctezuma Francisco Chang Mexico
Ernst Handel Roland Mendel Austria
Island Trading Helen Bennett UK
Laughing Bacchus Winecellars Yoshi Tannamuri Canada
Magazzini Alimentari Riuniti Giovanni Rovelli Italy

Description List Example

Coffee
– black hot drink
Milk
– white cold drink

Div Example

London

London is the capital city of England. It is the most populous city in the United Kingdom, with a metropolitan area of over 13 million inhabitants.


Span Example

My mother has blue eyes and my father has dark green eyes.


Class Example

London

London is the capital of England.

Paris

Paris is the capital of France.

Tokyo

Tokyo is the capital of Japan.


HTML Iframes

You can use the height and width attributes to specify the size of the iframe:


TypeDescription
<input type=”text”>Displays a single-line text input field
<input type=”radio”>Displays a radio button (for selecting one of many choices)
<input type=”checkbox”>Displays a checkbox (for selecting zero or more of many choices)
<input type=”submit”>Displays a submit button (for submitting the form)
<input type=”button”>Displays a clickable button
Form Elements

Text input fields





Note that the form itself is not visible.

Also note that the default width of text input fields is 20 characters.


The select Element

The select element defines a drop-down list: