• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter Six. XHTML: Restructuring the Web > Encode All < and & Characters

Encode All < and & Characters

Any less than signs (<) that aren't part of a tag must be encoded as &lt;, and any ampersands (&) that aren't part of an entity must be encoded as &amp;. Thus,

<p>She & he say that x < y when z = 3.</p>


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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