Welcome to HTMLCodes.ws!

HTMLCodes.ws provides free HTML codes that you can copy and paste into your own website. You can also find other resources such as HTML generators and the free online HTML editor below. Everything on this website is free of charge.

HTML Editor

This HTML editor allows you to generate HTML code that you can copy for your own use.

HTML Codes

Background Codes

Source CodeResult

This example sets all the background properties with one property - the 'background' property. This keeps the code shorter and easier to read.

More:

Marquee Codes

Source CodeResult
Your left scrolling marquee text goes here

More:

Text Codes

Source CodeResult

This amazing piece of HTML text uses various font properties to set it's style.

More:

Color Codes

Source CodeResult

Text color defined using the color name.

Text color defined using its hexadecimal value.

Text color defined using its shorthand hexadecimal value.

Text color defined using the RGB color value.

Text color defined using the RGB color percentage value.

More:

Link Codes

Source CodeResult

Travel Explorer

More:

Textbox Codes

Source CodeResult

More:

Image Codes

Source CodeResult
Cartoon drawing of city skyline

More:

Scroll Box Codes

Source CodeResult

About Scroll Boxes

This is an example of an HTML scroll box.

Scroll boxes allow you to place lots of web content into a small box. You can force the box to have scroll bars so that the user can scroll down (or across) to view all of the content.

More:

HTML Generators

Here are some HTML code generators that allow you to customize your code before copying/pasting it to your own website.

HTML Generators

MySpace Generators

 

About the HTML Codes

The HTML code on this page is provided free of charge, for you to use however you wish. Feel free to modify the code to suit your own needs.

External Style Sheets

Most of the HTML codes on this website use inline CSS. If you intend to use the codes across your whole website, you should place the CSS into an external style sheet.

To learn more, check out this explanation of external style sheets.

Web Hosting

Our partner site, ZappyHost, is a professional web hosting company providing website hosting, domain names and related products. If you need web hosting, check them out!