FREE HTML CODE
Search HTML Code

HTML HELP

Copy/Paste HTML Codes

Below you will find HTML codes that you can copy and paste right into your website or MySpace page etc.



DescriptionCodeResult
Text
Headings

Heading 1

Heading 2

Heading 3

Heading 4

Heading 5
Heading 6
Paragraphs Normal paragraph text.
Line Break I feel a line break coming...
...up.
Bold Text Bold text.
Italic Text Italic text.
Color Text
Color text.
Text Size
Text size using points.
Text size using pixels.
Text size using relative sizes.
Font Family
Preferred serif font.
Preformatted Text
Preformatted text displays just as you type it...
  ...line breaks, spaces and all! 
Teletype Text Teletype text - sometimes referred to as typewriter text.
Citation Text Citation text.
Emphasized Text Emphasized text.
Code Text Code text.
Big Text Big text.
Small Text Small text.
Blockquote The label says:
Contents should not be swallowed. This is due to the enormous amount of harmful chemicals that has gone into this burger.
Deleted Text
Delete this text.
Inserted Text
Insert this text.
Keyboard Text Keyboard text - text to be entered by the user.
Quotation Text Quotation text.
Sample Text Sample text (output from a computer program).
Variable Text Variable text.
Definition Definition.: To define the meaning of a word, phrase or term.
Images
Image Milford Sound in New Zealand
Image with Border Milford Sound in New Zealand
Linked Image Milford Sound in New Zealand
Linked Image with no Border Milford Sound in New Zealand
Tables
Basic Table
Table cell 1Table cell 2
Table with cellpadding, cellspacing, and width attributes
Table cell 1Table cell 2
Table with a Header Row
Table headerTable header
Table cell 1Table cell 2
Table with colspan Applied
Table header
Table cell 1Table cell 2
Table with rowspan Applied
Table headerTable cell 1

Table cell 2
Table with CSS Applied
Table headerTable header
Table cell 1Table cell 2
Forms
Basic Form Tags (insert all form elements between these tags)
(Insert form elements here)
Text Input
Text Area
Radio Buttons Option 1 Option 2
Checkboxes Option 1 Option 2
Select List
Submit Button
Image Button
Lists
Ordered list (numbered list)
  1. List item 1
  2. List item 2
  3. List item 3
Unordered list (unnumbered list)
  • List item 1
  • List item 2
  • List item 3
Definition list
Term 1
Definition of term 1
Term 2
Definition of term 2
Frames
Inline Frame
Frames The frameset (frame_example_frameset_1.html):


The left frame (frame_example_left.html):


The right frame (frame_example_right.html):
View the result


Need More HTML Help?

In the following table, the left column contains an HTML topic, the right column provides links to where you can find help about that topic.


For this...do this...
HTML help with tables
  • Scan the HTML table tutorial
  • Check out the HTML table generator
  • See the HTML table tag
  • Learn about the CSS table-layout property to make large tables load faster
  • Have a look at the CSS table-layout example
HTML help with images
  • See the HTML img tag
  • Check out the GIF vs JPEG article
  • Have a look at the animated GIF sample
  • If you need help with an image map, check out the article on image maps
Help with hyperlinks

  • Learn about the HTML a tag
  • To change the look of hyperlinks, see the CSS hyperlinks article
  • If you need to set a default URL for hyperlinks, have a look at the HTML base tag
Help with image maps
  • Make sure you're familiar with the HTML img tag
  • Read the image maps article
  • For a more detailed understanding, learn about the HTML map tag and the HTML area tag
Help with fonts
  • Read the HTML font code article
  • The above article suggests using CSS for fonts. In particular, learn about the following CSS properties: CSS font, CSS font-family, CSS font-size, CSS font-style, CSS font-weight
  • CSS has other properties that can assist with text formatting and layouts. For example, CSS line-height, CSS letter-spacing, CSS text-transform, CSS text-align. There are many other CSS properties so, you might like to peruse the complete list of CSS properties to see what properties can assist you with your layouts.
Help with embedding music/audio/sound
  • Read the HTML music code article
Help with color
  • Read the hex color codes article
  • View the html color code chart containing the 216 web safe colors
  • Read about the CSS color property
Help with numbered (ordered) lists
  • Learn about the HTML ol tag
Help with unnumbered (unordered) lists
  • Learn about the HTML ul tag
Help with definition lists

  • Learn about the HTML dl tag
Help with forms
  • Learn about the HTML form tag
  • You might also like to learn about the HTML fieldset tag, HTML legend tag
Help with frames
  • Learn about the HTML frameset tag
Help with inline frames
  • Learn about the HTML iframe tag
  • You may also be interested in the CSS scrollbars article for creating a similar effect to inline frames
Help with metadata
  • Learn about the HTML meta tag
Help with HTML redirects

  • Read the HTML redirect article
  • This article refers to the HTML meta tag for performing client side redirects
Help with adding JavaScript to a web page
  • Learn about the HTML script tag
  • To learn about JavaScript, see the JavaScript page
Help with event handlers/intrinsic events
  • Learn about the JavaScript event handlers
  • Peruse the complete list of HTML tags to see which intrinsic events work with which tags
| More