เราจะเพิ่มชื่อเอกสารใน HTML ได้อย่างไร
ใช้แท็ก
เพื่อเพิ่มชื่อเอกสาร แท็ก HTML <title> ใช้สำหรับระบุชื่อเอกสาร HTML ชื่อเนื้อหาอยู่ระหว่างแท็ก <head> และ </head></P> <h2 style="">ตัวอย่าง</h2> <p style="">คุณสามารถลองเรียกใช้โค้ดต่อไปนี้เพื่อเรียนรู้วิธีเพิ่มชื่อเอกสารใน HTML -</P> <pre><!DOCTYPE html>
<html>
<head>
<title>Title comes here</title>
</head>
<body>
<p>title tag is used for indicating the title of the HTML document. HTML document
title is visible via browser’s title bar.</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/zx451s/1004063973.html' >ใน HTML จะสร้างส่วนหัวของตารางได้อย่างไร </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/zx451s/1004063975.html' >จะสร้างหัวตารางใน 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/zx451s/1004063708.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/1004063722.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/1004063865.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/1004065367.html" class="title">
<p class="r-over r-over-2" title="ออบเจ็กต์ชื่อ HTML DOM ">
ออบเจ็กต์ชื่อ HTML DOM </p>
</a>
</div>
</li>
</ol>
</section>
</section>
<aside class="box-r">
<section class="box4-1">
<strong>
HTML
</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/zx451s/1004063914.html" title="จะเพิ่มองค์ประกอบที่อยู่ใน HTML ได้อย่างไร? ">
<p class="r-over r-over-2">จะเพิ่มองค์ประกอบที่อยู่ใน 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/zx451s/1004063929.html" title="เราจะเพิ่มรายการเมนูใน HTML ได้อย่างไร ">
<p class="r-over r-over-2">เราจะเพิ่มรายการเมนูใน 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/zx451s/1004063933.html" title="จะเพิ่มรายการใน HTML ได้อย่างไร? ">
<p class="r-over r-over-2">จะเพิ่มรายการใน 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/zx451s/1004063934.html" title="จะเพิ่มการอ้างอิงทรัพยากรใน HTML ได้อย่างไร? ">
<p class="r-over r-over-2">จะเพิ่มการอ้างอิงทรัพยากรใน 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/zx451s/1004063935.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/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/1004056149.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/ec452w/1004056574.html" class="i-text"><p class="r-over r-over-3">วิธีเพิ่มกฎ CSS ลงในเอกสาร HTML </p></a>
</li>
<li class="f-start f-align">
<a href="https://th.wsxdn.com/db044w/zx451s/1004063841.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/zx451s/1004064167.html" class="i-text"><p class="r-over r-over-3">เราจะเพิ่มข้อมูลเพิ่มเติมเกี่ยวกับองค์ประกอบใน HTML ได้อย่างไร </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>