Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Hour 5. Building Your First Mobile Site > Formatting Text Content

Formatting Text Content

Now that the basic page layout is finished we should add some polish to the page. Let’s do the following:

• Add an h1 tag around the text in the header.

• Add some paragraph tags around the text in the content area.

• Add a strong tag around some of the text.

• Add some centered text.

• Add an h3 tag around the text in the footer.


Tip: Search Engine Optimization

Search Engine Optimization is important! The higher your h1 tag is on the page the more “weight” the content inside it will have. Make sure you are using your site name or relative keywords for your site in your h1 tag.


Listing 5.4 shows the mobile site with the addition of various formatting elements.

Listing 5.4 The Mobile Site with Included Formatting Tags


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial