Skip to content

Create HTML File

ในการที่จะใช้ HTML ได้ เราต้องสร้างไฟล์ .html

html
<!DOCTYPE html>      <!-- HTML Version5 -->
<html lang="en">     <!-- ใส่ HTML -->
<head>               <!-- Document Metadata -->
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Tables</title>
</head> 
<body>               <!-- Content -->
    <h1>สวัสดี HTML</h1>
</body>
</html>

Watch Results

วิธีที่ 1 => ติดตั้ง Five Server แล้วกดเปิด (แนะนำ)

วิธีที่ 2 => เปิดโดยการกดที่ไฟล์ (ไม่แนะนำ)

Released under the MIT License