now that all the code is in place, you can preview the results in a browser. Figure 6.16 through 6.19 show how it looks in a browser. Actually these figures show what the page looks like after you fix the spelling errors, the forgotten closing tags, and all the other strange bugs that always seem to creep into an HTML file the first time you create it.
These problems always seem to happen no matter how good you are at creating web pages. If you use and HTML editor or some other help tool, you job will be easier, but you’ll always seem to find mistakes. That’s what previewing is for-so you can catch the problems before you actually make the document available to other people.
GETTING FANCY:
everything I’ve included on the page up to this point has been plan vanilla HTML 2.0, so it’s readable and will look pretty much the same in all browsers, after you get the page to this point, however, you canard additional formatting tags and attributes that won’t change the page for many readers, but might make it look a little fancier in browsers that do support these attributes.
So, what attributes do you want to use chose two:
· Centering the title of the page, the quote, and the bookstore’s address
· Making a slight font size change to the address itself.
To center them to most part of the page, you can use the <div> tag around the heading,
The quote, and the bookshop’s address, as in the following.
No comments:
Post a Comment