เอกสาร HTML เป็นหน้าเว็บซึ่งช่วยคุณในการแสดงเนื้อหาบนเว็บไซต์ ประกอบด้วยแท็กซึ่งมีแท็กเปิดและปิด อย่างไรก็ตาม แท็กบางแท็กไม่ได้มาเป็นคู่ เช่น ไม่มีแท็กปิด โครงสร้างขั้นต่ำขั้นพื้นฐานยังมีแท็กซึ่งคุณต้องเพิ่ม
ประเภทเอกสาร
นี่คือการประกาศ doctype ซึ่งเริ่มต้นโปรแกรม HTML และเพิ่มเป็น . มันถูกเพิ่มเพื่อบอกและสั่งเบราว์เซอร์เกี่ยวกับเอกสาร
สิ่งแรกหลังการประกาศ doctype คือแท็ก แท็ก HTML อื่นๆ ทั้งหมดอยู่ในแท็ก … ที่บอก ทุกแท็กในแท็กนี้เป็นไปตามกฎ HTML
แท็ก ช่วยคุณในการเพิ่มชื่อเรื่องสำหรับเอกสาร HTML โดยใช้แท็ก
…<title> <br> <strong><body></strong> <br> แท็ก <body> ทำให้คุณต้องการเนื้อหาในเอกสาร HTML คุณสามารถใช้แท็ก <p>
…</p>
เพื่อเพิ่มเนื้อหาลงในเอกสารซึ่งมองเห็นได้บนหน้าเว็บ</P> <h4 style="">ตัวอย่าง</h4> <p style=""></P> <pre><!DOCTYPE html>
<html>
<head>
<title>HTML Document</title>
</head>
<body>
<p>This is demo text.</p>
</body>
</html></pre> <br>
</article>
<div class="ad ad5">
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-4480737146802772" crossorigin="anonymous"></script><!-- computer.wsxdn --><ins class="adsbygoogle" style="display:block" data-ad-client="ca-pub-4480737146802772" data-ad-slot="4467655591" data-ad-format="auto" data-full-width-responsive="true"></ins><script> (adsbygoogle = window.adsbygoogle || []).push({}); </script>
</div>
<section id="turn-page" class="t-over">
<div class="f-start f-align">
<i><img loading='lazy' src="https://th.wsxdn.com/css/img/sanjiao.svg" alt=""></i>
<a class='LinkPrevArticle' href='https://th.wsxdn.com/db044w/ec452w/1004055375.html' >วิธีสร้างเอกสาร HTML ที่ถูกต้องโดยไม่มีองค์ประกอบ <head> </a>
</div>
<div class="f-start f-align">
<i><img loading='lazy' src="https://th.wsxdn.com/css/img/sanjiao.svg" alt=""></i>
<a class='LinkNextArticle' href='https://th.wsxdn.com/db044w/ec452w/1004055377.html' >วิธีใช้แท็ก <style> เพื่อกำหนดข้อมูลสไตล์สำหรับหน้า HTML </a>
</div>
</section>
<section class="box1-3">
<ol class="f-between">
<li class="aList-2 aList f-between f-align">
<div>
<a href="https://th.wsxdn.com/db044w/ec452w/1004055380.html" class="title">
<p class="r-over r-over-2" title="แท็กที่จำเป็นสำหรับเอกสาร HTML คืออะไร? ">
แท็กที่จำเป็นสำหรับเอกสาร HTML คืออะไร? </p>
</a>
</div>
</li><li class="aList-2 aList f-between f-align">
<div>
<a href="https://th.wsxdn.com/db044w/ec452w/1004059255.html" class="title">
<p class="r-over r-over-2" title="จะรับ HTML เอกสารทั้งหมดเป็นสตริงใน JavaScript ได้อย่างไร ">
จะรับ HTML เอกสารทั้งหมดเป็นสตริงใน JavaScript ได้อย่างไร </p>
</a>
</div>
</li><li class="aList-2 aList f-between f-align">
<div>
<a href="https://th.wsxdn.com/db044w/zx451s/1004063721.html" class="title">
<p class="r-over r-over-2" title="กฎแนวนอนในหน้า HTML คืออะไร ">
กฎแนวนอนในหน้า HTML คืออะไร </p>
</a>
</div>
</li><li class="aList-2 aList f-between f-align">
<div>
<a href="https://th.wsxdn.com/db044w/zx451s/1004063908.html" class="title">
<p class="r-over r-over-2" title="วิธีที่ถูกต้องในการใช้ , <br/> หรือ <br /> ใน HTML คืออะไร ">
วิธีที่ถูกต้องในการใช้ , <br/> หรือ <br /> ใน HTML คืออะไร </p>
</a>
</div>
</li>
</ol>
</section>
</section>
<aside class="box-r">
<section class="box4-1">
<strong>
Javascript
</strong>
<ol>
<li class="f-start">
<i>
<img loading='lazy' src="https://th.wsxdn.com/css/img/article-lan.svg" alt="">
</i>
<a href="https://th.wsxdn.com/db044w/ec452w/1004055532.html" title="ตัวดำเนินการทางคณิตศาสตร์ JavaScript พื้นฐานคืออะไร ">
<p class="r-over r-over-2">ตัวดำเนินการทางคณิตศาสตร์ JavaScript พื้นฐานคืออะไร </p>
</a>
</li>
<li class="f-start">
<i>
<img loading='lazy' src="https://th.wsxdn.com/css/img/article-lan.svg" alt="">
</i>
<a href="https://th.wsxdn.com/db044w/ec452w/1004055682.html" title="คุณสมบัติของเอกสารของวิธี IE4 DOM คืออะไร? ">
<p class="r-over r-over-2">คุณสมบัติของเอกสารของวิธี IE4 DOM คืออะไร? </p>
</a>
</li>
<li class="f-start">
<i>
<img loading='lazy' src="https://th.wsxdn.com/css/img/article-lan.svg" alt="">
</i>
<a href="https://th.wsxdn.com/db044w/ec452w/1004055705.html" title="การใช้งานในโอเปอเรเตอร์ใน JavaScript คืออะไร? ">
<p class="r-over r-over-2">การใช้งานในโอเปอเรเตอร์ใน JavaScript คืออะไร? </p>
</a>
</li>
<li class="f-start">
<i>
<img loading='lazy' src="https://th.wsxdn.com/css/img/article-lan.svg" alt="">
</i>
<a href="https://th.wsxdn.com/db044w/ec452w/1004056236.html" title="วัตถุสถานะ pushState ใน HTML คืออะไร? ">
<p class="r-over r-over-2">วัตถุสถานะ pushState ใน HTML คืออะไร? </p>
</a>
</li>
<li class="f-start">
<i>
<img loading='lazy' src="https://th.wsxdn.com/css/img/article-lan.svg" alt="">
</i>
<a href="https://th.wsxdn.com/db044w/ec452w/1004056556.html" title="วิธีรวมกฎของสไตล์ชีตในเอกสาร HTML คืออะไร ">
<p class="r-over r-over-2">วิธีรวมกฎของสไตล์ชีตในเอกสาร HTML คืออะไร </p>
</a>
</li>
</ol>
</section>
<ul>
<li class="f-start f-align">
<a href="https://th.wsxdn.com/db044w/ec452w/1004055373.html" class="i-text"><p class="r-over r-over-3">จะใช้แท็ก <script> เพื่อกำหนด JavaScript ฝั่งไคลเอ็นต์ได้อย่างไร </p></a>
</li>
<li class="f-start f-align">
<a href="https://th.wsxdn.com/db044w/ec452w/1004055378.html" class="i-text"><p class="r-over r-over-3">วิธีการใช้แท็ก <title> เพื่อกำหนดชื่อเอกสาร HTML? </p></a>
</li>
<li class="f-start f-align">
<a href="https://th.wsxdn.com/db044w/ec452w/1004055379.html" class="i-text"><p class="r-over r-over-3">แท็กที่สำคัญที่สุดสำหรับเอกสาร HTML คืออะไร </p></a>
</li>
<li class="f-start f-align">
<a href="https://th.wsxdn.com/db044w/db453v/1004075963.html" class="i-text"><p class="r-over r-over-3">การใช้แท็ก <c:url> ใน JSP คืออะไร? </p></a>
</li>
<li class="f-start f-align">
<a href="https://th.wsxdn.com/db044w/qn461i/1004092597.html" class="i-text"><p class="r-over r-over-3">โครงสร้างพื้นฐานของโปรแกรม C# คืออะไร? </p></a>
</li>
</ul>
<ul class="types f-between">
<li><a class='childclass' href='https://th.wsxdn.com/db044w/hf444z/' target="_self">การเขียนโปรแกรม C</a></li>
<li><a class='childclass' href='https://th.wsxdn.com/db044w/bz445u/' target="_self">C++</a></li>
<li><a class='childclass' href='https://th.wsxdn.com/db044w/tr446l/' target="_self">Redis</a></li>
<li><a class='childclass' href='https://th.wsxdn.com/db044w/rp447j/' target="_self">การเขียนโปรแกรม BASH</a></li>
<li><a class='childclass' href='https://th.wsxdn.com/db044w/wu448o/' target="_self">Python</a></li>
<li><a class='childclass' href='https://th.wsxdn.com/db044w/nl449f/' target="_self">Java</a></li>
<li><a class='childclass' href='https://th.wsxdn.com/db044w/ig450a/' target="_self">ฐานข้อมูล</a></li>
<li><a class='childclass' href='https://th.wsxdn.com/db044w/zx451s/' target="_self">HTML</a></li>
<li><a class='childclass' href='https://th.wsxdn.com/db044w/ec452w/' target="_self">Javascript</a></li>
<li><a class='childclass' href='https://th.wsxdn.com/db044w/db453v/' target="_self">การเขียนโปรแกรม</a></li>
<li><a class='childclass' href='https://th.wsxdn.com/db044w/if454a/' target="_self">CSS</a></li>
<li><a class='childclass' href='https://th.wsxdn.com/db044w/ge455y/' target="_self">Ruby</a></li>
<li><a class='childclass' href='https://th.wsxdn.com/db044w/xv456p/' target="_self">SQL</a></li>
<li><a class='childclass' href='https://th.wsxdn.com/db044w/jh457b/' target="_self">IOS</a></li>
<li><a class='childclass' href='https://th.wsxdn.com/db044w/om458g/' target="_self">Android</a></li>
<li><a class='childclass' href='https://th.wsxdn.com/db044w/mk459f/' target="_self">MongoDB</a></li>
<li><a class='childclass' href='https://th.wsxdn.com/db044w/rp460j/' target="_self">MySQL</a></li>
<li><a class='childclass' href='https://th.wsxdn.com/db044w/qn461i/' target="_self">C#</a></li>
<li><a class='childclass' href='https://th.wsxdn.com/db044w/jh465b/' target="_self">PHP</a></li>
<li><a class='childclass' href='https://th.wsxdn.com/db044w/kh471c/' target="_self">SQL Server</a></li>
</ul>
</aside>
</section>
<footer>
<section class="msg f-center container">
<span class="f-start">
ลิขสิทธิ์ ©
<a href="https://th.wsxdn.com">https://th.wsxdn.com</a>
สงวนลิขสิทธิ์
</span>
</section>
</footer>
</body>
</html>