2. Write HTML Using Notepad or TextEdit
เขียน HTML โดยใช้ Notepad หรือ TextEdit
HTML สามารถแก้ไขได้โดยการ ใช้โปรแกรมแก้ไข HTML มืออาชีพเช่น :
* Sublime Text
* Notepad++
* Brackets
* Edit Plus
* Netbeans
3. Step 1 : Open Notepad
ในการเปิด Notepad ใน Windows 7 หรือก่อนหน้านี้ :
Click Start (bottom left on your screen). Click All Programs.
Click Accessories. Click Notepad.
ในการเปิด Notepad ใน Windows 8 ขึ้นไป :
Open the Start Screen (the window symbol at the bottom left on
your screen). Type Notepad.
4. Step 2 : Write Some HTML
เขียนหรือคัดลอก HTML บางลงใน Notepad
<!DOCTYPE html>
<html>
<body>
<h1>My First Heading</h1>
<p>My first paragraph.</p>
</body>
</html>
5. Step 3 : Save the HTML Page
บันทึกไฟล์ในคอมพิวเตอร์
* เลือกเมนู File > Save as
* ช่อง File Name : "index.html" หรือชื่ออื่น ๆ ที่ลงท้ายด้วย html หรือ HTM
* ช่อง Save As Type : ให้เลือก All Files (*.*)
* ช่อง Encoding : ให้เลือก UTF - 8
6. Step 4 : View HTML Page in Your Browser
ดู HTML ในเว็บบราวเซอร์