Q&A

Q.What are the major sections of an HTML document?
A.The HTML content falls between the <HTML> </HTML> tags. Within these tags are the <HEAD> section and the <BODY> section. The <HEAD> section contains title, style, and control settings. The <BODY> section contains the content that will appear in the web browser window. The specification calls for a !DOCTYPE statement before the first HTML tag. The !DOCTYPE statement is often omitted.
Q.What HTML tag changes the color of text?
A.To change the color of text, use the <FONT> tag with the COLOR attribute:
<FONT COLOR="RED"> red text </FONT>
Q.What HTML tag defines a hypertext link?
A.For a hypertext link, use the <A> tag with the HREF attribute:
<A HREF="www.ElvisIsDiseased.com">I'm All Shook Up</A> ...

Get Sams Teach Yourself TCP/IP in 24 Hours, Fourth Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.