HTML Examples


HTML Basics

A very simple HTML document
HTML title
HTML paragraph
HTML link
HTML image

Example analysis


HTML Title

HTML title
Insert comment in html source code
insert a horizontal line

Example analysis


HTML Paragraph

HTML paragraphs
Many paragraphs
The use of line breaks in HTML documents
Issues with HTML formatting

Example analysis


HTML Text Formatting

Text formatting
How to use the pre tag to control blank lines and spaces
The display effects of different "computer output" labels
How to write addresses in HTML files
How to implement abbreviations or acronyms
How to change the direction of text
How to implement quotes of varying lengths
Text underline and strikethrough

Example analysis


HTML Style

HTML Style element
Background color style
Font style, color and size
Text alignment style
Set text font
Set text font size
Set text font color
Set text font, font size, font color
HTML uses different styles
Link without underline
link to an external style sheet

Example analysis


HTML Link

Create a hyperlink
Use an image as a link
Open the link in a new browser window
Link to a different location on the same page
Jump out of the frame
Create an email link
Create an email link 2

Example analysis


HTML Image

Insert images

Insert pictures from different positions
Arrange pictures
How to make pictures float to the left or right of the paragraph
Make an image link
Create an image map

Example analysis


HTML Table

Simple tables
Table without borders
Table headers inside tables
Table with table headers
Table cells that span rows or columns
Tabs inside a table
Cell padding
Cell spacing

Example analysis


HTML List

Unordered list
Ordered list
Different types of ordered list
Different types of unordered list
Nested list
Nested list 2
Definition list

Example analysis


HTML Form and Input

Create a text field
Create a password field
Checkbox
Radio button
Simple drop-down list
Pre-select drop-down list
How to create a text field (multi-line text input control)
Create a button
Draw a box with a title around the data
Form with the text field and the input fields
Forms with check boxes and a submit button
Form with a single box and a submit button
To send an email form

Example analysis


HTML iframe

Inline frame (insert a frame in HTML page)

Example analysis


HTML Head Elements

Describes the document title
Default URL link in the HTML page
Provide document metadata

Example analysis


HTML Script

Insert a script
using the <noscript> tag

Example analysis