HTML Learning Notes (iv) formatting tags and special characters

Source: Internet
Author: User

  HTML common formatting tags use the following

1     <HTML>2         <Head>3             <title></title>            4         </Head>5         <Body>6             <!--7 <p> Paragraph paragraph labels8 Align:left Center Right9 <br> NewLine BreakrowTen  One color width:100 (px), 50% Two methods of representation align A size Height NoShade no shadow - <pre> preformatted tags are useful for displaying code, such as pre-wrapping code -              - the             <PAlign= "Center">Paragraph wwwwwwwwwwwwwwww</P> -             <HRColor= "Red"width= "50%"size= " the"NoShade= "NoShade"Align= "Left"/> -             <Pre> - using System; + Class Program -                 { + static void Main (string[] args) A                     { at Console.WriteLine ("Hello World"); -                     } -                 } -             </Pre> -         </Body> -     </HTML>

Operation Result:

Special characters

  &gt; Greater than symbol (greater than) &lt;   less than symbol (than) &amp; Connector (&)

  &reg;   Registered trademarks (registration) &copy; copyright symbols &trade; Business symbols

  &nbsp; Non-breaking space (not break space)

About spaces

If there are no other data types on either side of the content, the spaces will be ignored. If a space is in the middle of a newline load, only one space is counted.

  

HTML Learning Notes (iv) formatting tags and special characters

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.