![]() |
|
Create Page Headings with HTMLWeb page and paragraph headings are added to a web page using the header tag. Header tags come in six default sizes. The sizes are 1 thru 6. The tags look like this: In their default forms, size 1 is the largest and size 6 is the smallest. We'll set the size, choice of font and alignment using our style sheet. For now let's add the header tag to our code and take a look. We're going to add our header tag to the second, right hand column of our web page. The words that you want to appear on the screen are typed between the open and close tag. Copy the code and paste it between the second set of cell tags of the table. This is what your code should now look like.
Note: You should see large light green letters on the left of your screen on a dark green background. It appears on the left side for now because the left column is empty. We'll add our strawberry to the left column in the next lesson and things will begin to take shape. For now let's add some style settings for our header tag to the style sheet. Open the style sheet in your text editor. Remember, you have to use the 'All Files' filter to see it. Copy the block of code and paste it below the first block of code in the style sheet. Now open the web page in your browser and take a look. Note: If you aren't closing your browser, just right click on the page and click Refresh or Reload to see changes.
We give the browser five choices of fonts to choose from: We set the font style to normal: We set the font weight to normal: We set the font size to 16 points: We set the alignment of the text to center:
If you're seeing Helvetica text on a dark green screen you're ready to add your strawberry. Lets' add an image. Free Business Web HostingIf you are building a website for a business or organization, you can put it online for free at Microsoft® Office Live Small Business. You can create your website with HTML and upload it or use their tools and build it online. Take your business online with Microsoft® Office Live Small Business. Get started for FREE!
Create Web Sites without Learning Code
|
HTML Tutor HTML Editors Online Builder Tutorials Other Helps |
|
www.createasite.net ©2008 All Rights Reserved - Create a Site with HTML - Make a Free Website |