It 236 Readin

Submitted by: Submitted by

Views: 382

Words: 13461

Pages: 54

Category: Science and Technology

Date Submitted: 04/22/2012 07:23 PM

Report This Essay

XHTML Reference — Appendix A

435

Appendix A

XHTML Reference

This appendix includes element descriptions sorted both alphabetically and by category. The elements listed in this appendix are the ones you will use most often, including a list of the Core attributes allowed with the majority of XHTML elements and a complete list of character entities. Some elements are deprecated (obsolete) in XHTML but are still in common use in many Web sites. If you are creating XHTML-compliant Web pages, you should not use these deprecated elements. For more detailed information, visit the World Wide Web Consortium Web site at www.w3.org.

Core Attributes

Appendix A

The Core attributes are allowed within all of the elements listed in the element tables.

Attribute id class style title Description Specifies a document-wide unique identifier for an element Specifies a class name for an element; the class name can be used to specify style sheet rules Specifies a style sheet rule for the element Specifies a title for the element; the content of the title is displayed in the browser as a pop-up

Table A-1

XHTML core attributes

9781435429123, Principles of Web Design, 4e by Joel Sklar - © Cengage Learning

436

XHTML Reference — Appendix A

Alphabetical XHTML Reference

Element Description Attributes Allows you to insert a comment in None your code. Browsers do not display comments in the Web page. Place the comment within the tag, for example: Allows you to create a clickable hypertext anchor in a document; can be text or an image Core attributes plus: f ▪ href—The target destination in a documen ▪ name—The name of a fragment of the document t ▪ target—The window or frame in which the linked document is displayed Allows you to boldface text Sets the base URL or target for a page; this is an empty element Core attributes Core attributes plus: f ▪ href—The absolute or relative original l ▪ url—For the current document t ▪ target—The default window or frame...