Reserved Symbols

Reserved Symbols

Reserved Symbols
There are five(5) reserved keyboard symbols in HTML that we should use their entity equivalent in place of, if we wish for the document viewer to see the symbol rendered to the page while keeping clean valid html markup. These symbols have special purpose in HTML source code and are therefore reserved.
< &#60;
> &#62;
& &#38;
" &#34;
' &#39;

Less Than / Greater Than Symbols
HTML CODE EXAMPLE
&#60;h3&#62;Welcome to the show!&#60;/h3&#62;
<h3>Welcome to the show!</h3>

Ampersand Symbol
HTML CODE EXAMPLE
Blue &#38; Black are my favorite colors.
Blue & Black are my favorite colors.

Double Quote / Single Quote Symbols
HTML CODE EXAMPLE
Welcome to &#34;Joe&#39;s BBQ Shack&#34;
Welcome to "Joe's BBQ Shack"

Related Posts :

  • var var HTML var Element The HTML <var> variable element is used to render a character or str… Read More...
  • video video HTML video Element NOTE: This new element is HTML5 and will be a standardized element in … Read More...
  • ul ul HTML ul Element The HTML <ul> unordered list element is used to render a list of <l… Read More...
  • u u HTML u Element The HTML <u> offset text element is used to apply an underline format to… Read More...
  • Keyboard Symbols Keyboard Symbols Keyboard Symbols Here you can reference all of the HTML keyboard character a… Read More...

0 Response to "Reserved Symbols"

Post a Comment