html, head, title, style, body

Html อันนี้ คงไม่ต้องอธิบายมากนะครับ เขียน html มันต้องประกาศเป็น html ดิใช่มั้ยครับ ส่วน แอทริบิวของ xmlns เขาบอกมามันควรเป็นของ

<html xmlns="http://www.w3.org/1999/xhtml">

โดยเขียนไว้ อย่างนี้

<html xmlns="http://www.w3.org/1999/xhtml">

……………………………

</html>

Head

ส่วนนี้คือของสงวน ถ้าอยากใส่อะไรลงไปก็ตรงนี้เลยครับ เช่น <meta> พวก description ต่างๆ และที่สำคัญ ระบบเสิร์ชเอ็นจิน มันจะเข้ามา ป้วนเปี้ยนแถวๆ นี้แหละ

<head>

 

………………

</head>

Title

เอาไว้ใส่ชื่อหน้าเว็บ ให้มันแสดงที่ไตเติลบาร์ ใครในที่นี้ไม่รู้บ้างเนี่ย เอ้อ แล้วจะอธิบายทำไม ผ่าน

<title>………</title>

Style

กรณีที่ท่านอยากเขียน Internal (embedded )Style Sheet

<style type="text/css" >
p {
color: #000000;
}
</style>

Body

ส่วนที่ บราวเซอร์แสดงผล

<body>………</body>

Did you like this? Share it:
Share |

Back to Top

This entry was posted in XHTML

Tagged: , , , ,

เนื้อหาที่คล้ายคลึงกัน อย่างมีนัยสำคัญ

Leave a Reply

Your email address will not be published. Required fields are marked *

Connect with Facebook

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Back to Top

TEXT & text Effectes

Layout and Box Model

Transitions and Animations