• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint


Q1:Other books talk about some text formatting tags that you didn't cover in this hour, such as <code> and <address>. Shouldn't I know about them?
A1: A number of tags in HTML indicate what kind of information is contained in some text. The <address> tag, for example, was supposed to be put around addresses. The only visible effect of <address> in most browsers, however, is making the text italic. Web page authors today most often simply use the <i> tag instead. Similarly, <code> and <kbd> do essentially the same thing as <tt>. You might also read about <var>, <samp>, and <dfn> in some older HTML references, but nobody uses them in ordinary Web pages.

One tag that you might occasionally find handy is <blockquote>, which indents all the text until the closing </blockquote>. Some Web page authors use <blockquote> on all or part of a page as a quick and easy way to widen the left and right margins.

Q2:How do I find out the exact name for a font I have on my computer?
A2: On a Windows or Macintosh computer, open the Control Panel and click the Fonts folder. The TrueType fonts on your system are listed. Use the exact spelling of font names when specifying them in the <font face> tag. If you use Adobe Type Manager, run the ATM Control Panel to find the name of PostScript fonts in Windows.
Q3:What if I use a different company to handle my email than I use to handle my Web pages? Will my email links still work?
A3: Yes. You can put any email address on the Internet into a link, and it will work fine. The only situation where email links won't work is when the person who clicks the link hasn't set up the email part of his Web browser properly or is using an older version that isn't capable of sending email.
Q4:Can I put both href and name in the same <a> tag? Would I want to for any reason?
A4: You can, and it might save you some typing if you have a named anchor point and a link right next to each other. It's generally better, however, to use <a href> and <a name> separately to avoid confusion because they play very different roles in an HTML document.
Q5:What happens if I accidentally spell the name of an anchor wrong or forget to put the # in front of it?
A5: If you link to an anchor name that doesn't exist within a page or misspell the anchor name, the link goes to the top of that page.



Not a subscriber?

Start A Free Trial

  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint