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