My second page maker: the use of P,HN,BR tags

Source: Internet
Author: User

1 <HTML>2    <Head>3       <title>This is my second HTML code.</title>4       <Body>5       <!--6 <p>hello world!</p>7 <p>hello world!</p>8          -9I love Beijing Tiananmen<BR/>TenI love Beijing Tiananmen<BR/> OneI love Beijing Tiananmen<BR/> A         <H1>How are you doing</H1> -         <H2>How are you doing</H2> -         <H3>How are you doing</H3> the         <h4>How are you doing</h4> -         <h5>How are you doing</h5> -         <h6>How are you doing</h6> -       </Body> +     </Head> - </HTML>    

The resulting effect is as follows:

The only way to write in Notepad is not to go wrong, and if you switch to a compiler, the following results will appear:

This question I tuned for a long time do not know what is wrong, and finally found that as long as the addition of a line of statements can avoid such as the error!

1 <Meta charset= "Utf-8">

We then generated the complete source code:

1 <!DOCTYPE HTML>2 <HTML>3    <Head>4    <MetaCharSet= "Utf-8">5       <title>This is my second HTML code.</title>6       <Body>7       <!--8 <p>hello world!</p>9 <p>hello world!</p>Ten          - OneI love Beijing Tiananmen<BR/> AI love Beijing Tiananmen<BR/> -I love Beijing Tiananmen<BR/> -         <H1>How are you doing</H1> the         <H2>How are you doing</H2> -         <H3>How are you doing</H3> -         <h4>How are you doing</h4> -         <h5>How are you doing</h5> +         <h6>How are you doing</h6> -       </Body> +     </Head> A </HTML>

My second page maker: the use of P,HN,BR tags

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.