>


HTML from Square One: Text Formatting

Andrew Martin
Creative Director


Welcome to the second entry of my series, "HTML from Square One". Please familiarize yourself with the first entry, HTML from Square One: Document Setup, if you haven't already. Today we will discuss the basic HTML tags used for text formatting. CSS allows us to customize how these tags look, however for now, we'll just show them 'out of the box' - the default display of the basic text formatting HTML tags. As we learned in the first entry, we will put all page content between the opening and closing <body> tags.

Headings
Let's start with the heading tags. HTML contains five heading or 'h' tags. The largest heading tag, <h1>, is used for major headlines, like the title of a news article. <h2> is used for sub-headings, as the outputted text is smaller than that of <h1>. <h3>, <h4>, <h5> continue to output smaller text as the number following 'h' increases. I think of the number representing the importance of the heading. The #1 most important heading gets <h1> and so on. Note that search engines think of 'h' tags in a similar fashion; a search engine will consider text inside an <h1> more important than text in an <h5> tag.



Code

Output

<h1>Example Text</h1>
Example Text
<h2>Example Text</h2>
Example Text
<h3>Example Text</h3>
Example Text
<h4>Example Text</h4>
Example Text
<h5>Example Text</h5>
Example Text


Web Design


Send consumers the ideal message with a custom-tailored web solution from Regal Creative. An extraordinary website doesn't need to cost a fortune; let us show you how affordable a cutting-edge web presence can be, whether your business needs a 'brochure-style' HTML website, a feature-rich content management system, or an advanced e-Commerce platform.

Search Engine Optimization


A high quality website can't live up to its full potential without a high quality stream of traffic! Regal Creative will analyze your traffic and search placement goals, as well as your keyword competition, to create and implement a strategy to greatly increase your search engine performance by means of link building and page optimization.

Graphic Design


Effective, visually appealing graphic design takes years to master. With over a decade of design experience, Regal Creative's creative team can provide your business with extraordinary logo design, print media design (business cards, brochures, postcards, etc.), and trade show display design services, and do so at an affordable rate.