2. การตัดคำขึ้นบรรทัดใหม่ <br> <p>test test this is some text <br> hello html is <br> fun. </p> การตัดคำขึ้นย่อหน้าใหม่ <p> <p> this is 1 paragrapg<br> and the next one is… </p> <p> this is 2 paragraph </p> www.rongrean.com Orjix
3. จัดวางตำแหน่งข้อความในย่อหน้า <p align=“center” >center</p> <p align=“right” >right</p> จัดวางตำแหน่งให้อยู่กึ่งกลางด้วย <center> <center> how to use<br> center tag. </center> <center> <p> nested with other tag</p> </center> www.rongrean.com Orjix
4. จัดรูปแบบเอกสารตามที่กำหนด <pre> <pre> hello this is pre-tag. <pre> สร้างเส้นคั่นในแนวนอน <hr> <p> this is upper-part <hr> this is lower-part </p> www.rongrean.com Orjix
5. สร้างเส้นคั่นในแนวนอน <hr> : attribute ต่างๆ ของ <hr> ได้แก่ Width : กำหนดความยาวของ pixel มีหน่วยเป็น pixel ex : ให้ width เท่ากับ 20 px ( width=“20px” ) Size : กำหนดความหนาของเส้นคั่น มีหน่วยเป็น pixel ex : ให้ size เท่ากับ 10 px ( size=“10px” ) Noshade : กำหนดให้เป็นเส้นคั่นสีเดียวทั้งเส้น ex : กำหนด attribute noshade ให้กับ <hr> ( <hr noshade> ) Align : กำหนดตำแหน่งของเส้นคั่น ค่าที่เป็นได้คือ center, left และ right ex : ให้ width เท่ากับ 20 px ( width=“20px” ) www.rongrean.com Orjix left center right
6. เพิ่มหมายเหตุเตือนความจำ <!-- …text here… --> <h1>header</h1><!-- this is header --> <p> how are you?<!-- this is paragraph--> </p> www.rongrean.com Orjix No text here!? No text here!?