HTML Syntax Reference

HTML Syntax Reference

Affordable Website Packages

This is a basic guide to often-used or useful HTML Syntax references. It is by no means complete, and is meant as a reference only.

To prevent the code examples from working on the page (& therefore not being of any use to you as a tutorial....) I have added extra spaces between some of the ends ("< "and "> ")

Important For XHTML 1.0 standards compliance: All tags should be in lowercase.

Best Web Hosting

HTML Syntax Reference

Syntax Examples
Bolded Text - New method < strong>Bolded Text</strong > Bolded Text
Bolded Text - Old method / depreciated < b>Bolded Text</b > Bolded Text
Italicized Text < i>Italicized Text</i > Italicized Text
Deleted Text < d>Deleted Text</d > Deleted Text
Big Text (depreciated - Use H1,H2,H3 etc instead..) < big>Big Text</big > Big Text
H1 Text  - Largest size available(NOTE: The size & color of text is set by your current template/theme settings..) < h1>Your-Text</h1 >


H2 < h2>Your-Text</h2 >


H3 < h3>Your-Text</h3 >


H4 < h4>Your-Text</h4 >


H5 < h5>Your-Text</h5 >
H6 < big>Your-Text</big >
Small Text (depreciated - Use H1,H2,H3 etc instead..) < small>Small Text</small > Small Text
Superscript 2 x 10<sup>6</sup> 2 x 106
Subscript H<sub>2</sub>0 H2O
Hyperlink < a href="">Business-In-Site</a > Business-In-Site
Email Hyperlink < a href=""></a >
Float an image - LEFT Float

(Note: enter your desired height & widths - number only, eg: width "300")

< img class="alignleft" src="PUT-FULL-IMAGE-URL-HERE.jpg" alt="" width="" height="" /></a > -
Float an image - RIGHT Float

(Note: enter your desired height & widths - number only, eg: width="300")

< img class="alignright" src="PUT-FULL-IMAGE-URL-HERE.jpg" alt="" width="" height="" /></a> -
No Follow Links

(useful for SEO to prevent loss of "link-juice", plus also for affiliate links or paid links etc - to prevent penalization by Google....)

< a rel="nofollow" href="PUT-FULL-URL-LINK-HERE" target="_blank">TITLE OF YOUR LINK</a >- -
Return / Go To Top (of Page or Post, etc) Just add # on the end of the URL - Example: Return to top


If there is a (essential or important) subject or method that you think should be added to this page, please do not hesitate to contact us using the contact form on our Contact Us page & we will consider including it.

Web Traffic Services
Web Traffic Services
Shopping Cart
Affordable Website Packages

SPECIAL OFFER - Get 12 Months Free Hosting - Hurry Limited Time



Subscribe to get news and offers in your inbox



Get 10% Off

On all the goodies being sold across our store.

Use the following coupon code.

*Limited Period Offer. Excludes Subscription products & services.



Scroll to Top