In our last article we left off our discussion with how to work with images in HTML. In this article we will go over working with fonts, styles, and headers. There is plenty of ground to cover, so let's get to it.
HTML Fonts, Styles, and Headers - Getting Inside Your Head (Page 5 of 5 )
The header element typically contains information about your document, such as meta-tags. It is generally data that is not displayed in your browser, but there are exceptions to this rule. In this example we will attempt to display data in the header, but will find ourselves unable to:
<html>
<head>
<title>You can't see me!</title>
</head>
<body>
<p>But you can see me!</p>
</body>
</html>
Try it out. As you can see, only the paragraph written in the body section is visible.
In this example we set the keywords of our document:
The above keywords would help a search engine index our page. So people looking for James, Payne, Awesome, etc would have an easier time finding my website.
Unfortunately meta-tags and search engine optimization tricks and techniques are beyond the scope of this article, and really any single article by itself. However, Developer Shed does have an entire site, SEO Chat, devoted to this industry, and if you are looking to become a true web designer, or want a good web presence for any reason, this is a great place to start.
Well that's all the time we have for this article. Be sure to come back often as we continue our discussion of HTML and building web pages.
Till then...
DISCLAIMER: The content provided in this article is not warranted or guaranteed by Developer Shed, Inc. The content provided is intended for entertainment and/or educational purposes in order to introduce to the reader key ideas, concepts, and/or product reviews. As such it is incumbent upon the reader to employ real-world tactics for security and implementation of best practices. We are not liable for any negative consequences that may result from implementing any information covered in our articles or tutorials. If this is a hardware review, it is not recommended to open and/or modify your hardware.