QA


Q&A

Q1:

I've created a web page, but when I open the file in my web browser I see all the text including the HTML tags. Sometimes I even see weird gobbledygook characters at the top of the page! What did I do wrong?

A1:

You didn't save the file as plain-text. Try saving the file again, being careful to save it as Text Only or ASCII Text. If you can't quite figure out how to get your word processor to do that, don't stress. Just type your HTML files in Notepad or TextEdit instead and everything should work just fine. (Also, always make sure that the filename of your web page ends in .html or .htm.)

Q2:

I have this HTML web page on my computer now. How do I get it on the Internet so that everyone else can see it?

A2:

Hour 4, "Publishing Your HTML Pages," explains how to put your pages on the Internet as well as how to get them ready for publishing on a local network or CD-ROM.

Q3:

I want "Fred's Fresh Fish" to appear both at the top of my page and on people's bookmark (or favorites) lists when they bookmark my page. How can I get it to appear both places?

A3:

Make a heading at the top of your page with the same text as the title, like this:

 <html>   <head>     <title>Fred's Fresh Fish</title>   </head>   <body>     <h1>Fred's Fresh Fish</h1>     ...the rest of the page goes here...   </body> </html> 


Q4:

I've seen web pages on the Internet that don't have <html> tags at the beginning. You said pages always have to start with <html>. What's the deal?

A4:

Many web browsers will forgive you if you forget to put in the <html> tag and will display the page correctly anyway. Yet it's a very good idea to include it because some software does need it to identify the page as valid HTML. Besides, you want your pages to be bona fide XHTML pages so that they conform to the latest web standards.




SAMS Teach Yourself HTML and CSS in 24 Hours
Sams Teach Yourself HTML and CSS in 24 Hours (7th Edition)
ISBN: 0672328410
EAN: 2147483647
Year: 2005
Pages: 345

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net