There are two types of text that you can include within a website. You can include either a heading text or you can include paragraph text. Heading text can be separated into six subcategories based on size. The six heading types are labeled as H1 through H6. The H1 heading text is the largest text and is by default 24 pixels high. The H6 heading text is the smallest text at a default size of eight pixels. When inserting a heading text into your website you must use the proper opening and closing tags for the text you're trying to use. For example, if I wanted to type hello in heading one size this is what the code would look like...
hello
By changing the heading number in the code, you can change the size of the text. However, do not make the mistake of changing the opening tag number while not changing the closing tag number. Doing so would cause errors in your website including text not appearing. Unless otherwise specified, heading text is always bold.
The second type of text that can be used in a website is paragraph text. Paragraph text is used for the main body of your website. Paragraph text is code by using opening and closing "P" tags. If we wanted to insert the word "hello" as paragraph text, it would look like this...
hello
Unless specifically specified, your paragraph text will follow a font size, color, and other styling based on the styling defined for your website.
Heading tags are usually used for titles and other prominent text. Although you can use a heading as part of your body text, the World Wide Web Consortium frowns upon it. The World Wide Web Consortium, which put forth guidelines on the standardization of Web language, expects that a heading tag should only be used once within a webpage document. For example, if you used H1 as your title text, then you should refrain from using H1 as part of your menu bar. You should use for example H2. I would caution however, that although it's a guideline that should be followed, when it comes to the actual functionality of your website using more than one H1 tag within an HTML document will not cause an adverse effect on the site itself.
Published by victor rodriguez
Hello everyone. I am the owner and Designing Manager of Victory Web Productions. I live in Guilderland, NY and am a father of a beautiful baby girl, Amy.I guess this is where I tell you a little about my h... View profile
-
Styling CSS and HTML Unordered Lists
This tutorial describes the list HTML elements and how to creatively markup your web page using Lists and CSS design.
- How to Make a Webpage Using HTML - Part I HTML is basically a computer language. You type in the appropriate command, and the computer will follow through with that command. Sounds simple, right? Well actually it is, but the only difficult part is learning th...
-
Timothy Berners-Lee, Father of the World Wide Web
Inventor of the hypertext language, Berners-Lee advocates keeping the Internet free for all.
-
Intro to Web Design: What is Web Design?
A web designer is a person who is knowledgeable in the art of designing web sites. This article is an introduction to the art of web design
- How to Show HTML Code on Associated Content Articles
- Basic HTML Tutorial
- HTML Tutorial #1 - Introduction
- Build Your Own Website - Part 3: HTML Code
- Evrsoft First Page 2006: Free HTML Editor
- Guide for Freelance Writers: How Learning Html Can be Helpful
- HTML: An Overview
|
|
- Hackers intercept FBI, Scotland Yard call (AP)
- EU probes new Google privacy policy (AP)
- HP awards new CEO Whitman with $16.5M pay package (AP)
- Facebook Timeline feature unpopular, especially among Baby Boomers (Yahoo! News)
- Super Bowl bust: U.S. government seizes 307 domains for violating NFL copyrights (Yahoo! News)