1. Syntax and specification
HTML files end in. HTML Or. htm. We recommend using The. HTML end.
HTML file divided into header (HTML tags are made up of start and end Tags. (HTML tags are case-insensitive and lowercase are recommended.
2. HTML Related TAG Learning
2.1 Title Tag
Header label using Features: Bold and black, a single row, and other lines have a certain line of space
note:<!--comments--
2.2 Horizontal Line Label
Horizontal line Label
2.3 Paragraph Labels
Paragraph labels <p></p>
2.4 Font Labels
Font labels <font></font>
Property: size: Specifies the amount of content
color: specifies the colors of the content
face: Specifies the font for the content
Bold:<b></b>
Italic:<i></i>
Underline:<u></u>
Note: Hbuilder also supports Alt+/auto-output Prompts.
3, Create a new HTML file in hbuilder, name the site information display page, The code is as Follows:
1 <!DOCTYPE HTML>2 <HTML>3 <Head>4 <MetaCharSet= "UTF-8">5 <title>Site Information Display page</title>6 </Head>7 <Body>8 <!--1. Create a title label -9 <H2>Bladder Division</H2>Ten one <!--2. Create a horizontal line label - a <HR/> - - <!--3. Create paragraph labels, respectively - the <P> - <FontColor= "red">The Master of Shadow Play</Font>he was bowing his back on a low table to mend the broken shadow. He has a lot of shadow puppet, there are red and green, there are men and women, rabbits have horses, as if a complete world. And he is the creator of that World. - </P> - + <P> -The world knows<b>Bladder Division</b>, and seldom heard<I>Master operator</I>, because most people only pay attention to the appearance, but not the Behavior. The bladder division flourished in the imperial city, especially the harem, control Division also flourished in the imperial city, but in the harem than the bladder division is popular. Only a few of the Emperor's concubines know that the appearance can only cause the Emperor's attention, but that is only a moment of the hing, and behavior can let the Emperor long Tire. thus, The palace appeared a kind of female official, called the mc, conferred nine Title. The MC specializes in women's manners in the palace, and later taught some intimate concubines how to seduce the emperor, so that the Emperor reluctantly, as much as possible to stay. + </P> a at </Body> - </HTML>
Save the file, click Run in browser, the effect is as Follows:
HTML basics--site Information Display page