แท็กความคิดเห็น HTML | ตัวอย่างความคิดเห็น HTML | เครื่องสร้างรหัสความคิดเห็น HTML
<!-- This is an HTML comment -->
ตัวคั่นเปิดความคิดเห็น:
<!--
ตัวคั่นปิดความคิดเห็น:
-->
ใช้ข้อความแสดงความคิดเห็นเมื่อคุณต้องการเพิ่มคำอธิบายให้กับโค้ด
รหัส HTML:
<!-- this is a single line comment -->
<p> some text ... </p>
<!--
this is
a multiline
comment
-->
<p> some more text ... </p>
การดูหน้าผลลัพธ์:
some text ...
some more text ...
ใช้การแสดงความคิดเห็นโค้ดเมื่อคุณต้องการให้โค้ดไม่ทำงาน
รหัส HTML:
<!-- <p> some text ... </p> -->
<!--
<p> some text ... </p>
<p> some text ... </p>
-->
<p> some more text ... </p>
การดูหน้าผลลัพธ์:
some more text ...
Advertising