January 2011
13 posts
Forms
HTML Forms are used to select different kinds of user input.
Create text fields How to create text fields. The user can write text in a text field.
Create password field How to create a password field.
(You can find more examples at the bottom of this page)
HTML Forms
HTML forms are used to pass data to a server.
A form can contain input elements like text fields, checkboxes,...
Tables and Lists
HTML Tables
Apples 44% Bananas 23% Oranges 13% Other 10%
Tables How to create tables in an HTML document.
Table borders How to specify different table borders.
(You can find more examples at the bottom of this page).
HTML Tables
Tables are defined with the <table> tag.
A table is divided into rows (with the <tr> tag), and each row is divided into data cells (with...
Links and Images
Links are found in nearly all Web pages. Links allow users to click their way from page to page.
HTML links How to create links in an HTML document.
(You can find more examples at the bottom of this page)
HTML Hyperlinks (Links)
A hyperlink (or link) is a word, group of words, or image that you can click on to jump to a new document or a new section within the current document.
When...
Formating and Styling
HTML Text Formatting
This text is bold This text is big This text is italic This is computer output This is subscript and superscript Try it yourself »
HTML Formatting Tags
HTML uses tags like <b> and <i> for formatting output, like bold or italic text.
These HTML tags are called formatting tags (look at the bottom of this page for a complete reference).
Text ...
Headings and Paragraphs
Headings are important in HTML documents.
HTML Headings
Headings are defined with the <h1> to <h6> tags.
<h1> defines the most important heading. <h6> defines the least important heading.
Note: Browsers automatically add some empty space (a margin) before and after each heading.
Headings Are Important
Use HTML headings for headings only. Don’t use headings...
Elements and Atributes
HTML documents are defined by HTML elements.
HTML Elements
An HTML element is everything from the start tag to the end tag:
* The start tag is often called the opening tag. The end tag is often called the closing tag.
HTML Element Syntax
An HTML element starts with a start tag / opening tag
An HTML element ends with an end tag / closing tag
The element content is everything between...
1 tag
HTML: the basics
Example
<html> <body> <h1>My First Heading</h1> <p>My first paragraph.</p> </body> </html>
What is HTML?
HTML is a language for describing web pages.
HTML stands for Hyper Text Markup Language
HTML is not a programming language, it is a markup language
A markup language is a set of markup tags
HTML uses markup tags to describe...
1 tag
2 tags