<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>وبلاگ آسیا آی تی &#187; تگ html</title>
	<atom:link href="https://blog.asiait.ir/tag/%d8%aa%da%af-html/feed/" rel="self" type="application/rss+xml" />
	<link>https://blog.asiait.ir</link>
	<description> آی تی &#124; معرفی سایت ها &#124; نقد برسی &#124; آموزش  &#124; دانلود</description>
	<lastBuildDate>Sun, 18 Sep 2016 07:04:56 +0000</lastBuildDate>
	<language>fa-IR</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://asiait.ir/?v=4.1</generator>
	<item>
		<title>مقدمه ای بر HTML</title>
		<link>https://blog.asiait.ir/%d9%85%d9%82%d8%af%d9%85%d9%87-%d8%a7%db%8c-%d8%a8%d8%b1-html/</link>
		<comments>https://blog.asiait.ir/%d9%85%d9%82%d8%af%d9%85%d9%87-%d8%a7%db%8c-%d8%a8%d8%b1-html/#comments</comments>
		<pubDate>Fri, 13 Mar 2015 17:02:48 +0000</pubDate>
		<dc:creator><![CDATA[ABP]]></dc:creator>
				<category><![CDATA[html]]></category>
		<category><![CDATA[آموزش]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[HTML چیست؟]]></category>
		<category><![CDATA[HTML5]]></category>
		<category><![CDATA[اچ تی ام ال]]></category>
		<category><![CDATA[برنامه نویسی]]></category>
		<category><![CDATA[تگ html]]></category>
		<category><![CDATA[زبان نشانه گذاری]]></category>
		<category><![CDATA[کد نویسی]]></category>

		<guid isPermaLink="false">http://blog.asiait.ir/?p=481</guid>
		<description><![CDATA[این مقاله شامل مقدمه ای بر HTML و تعریف، کاربرد و نحوه کلی استفاده از آن است. با HTML شما می توانید وب سایت خود را بسازید. زبان HTML بسیار ساده و روان است و شما از یادگیری آن لذت خواهید برد. HTML چیست؟ HTML یک زبان نشانه گذاری برای توصیف نوشته ها و اسناد ...]]></description>
				<content:encoded><![CDATA[<p style="text-align: justify;">این مقاله شامل مقدمه ای بر HTML و تعریف، کاربرد و نحوه کلی استفاده از آن است. با HTML شما می توانید وب سایت خود را بسازید. زبان HTML بسیار ساده و روان است و شما از یادگیری آن لذت خواهید برد.</p>
<p style="text-align: justify;"><a href="http://blog.asiait.ir/asa-content/uploads/2015/03/cvcv.png"><img class="asa-image-524" src="http://blog.asiait.ir/asa-content/uploads/2015/03/cvcv.png" alt="html5" width="349" height="349" /></a></p>
<p style="text-align: justify;">
<p style="text-align: justify;">
<p style="text-align: justify;">
<h1 style="text-align: justify;"><a title="HTML" href="http://blog.asiait.ir/category/%d8%a8%d8%b1%d9%86%d8%a7%d9%85%d9%87-%d9%86%d9%88%db%8c%d8%b3%db%8c/html/" target="_blank">HTML چیست؟</a></h1>
<p style="text-align: justify;">HTML یک زبان نشانه گذاری برای توصیف نوشته ها و اسناد وب است.</p>
<ul style="text-align: justify;">
<li>HTML مخفف عبارت <b>H</b>yper <b>T</b>ext <b>M</b>arkup <b>L</b>anguage است.</li>
<li>یک زبان نشانه گذاری مجموعه ای از تگ های نشانه گذاری است.</li>
<li>اسناد HTML با تگ های HTML می گردند.</li>
<li>هر تگ HTML یک محتوای خاص را توصیف می‌کند.</li>
</ul>
<h2 style="text-align: justify;">نمونه کد HTML</h2>
<pre class="example_code notranslate htmlHigh" dir="ltr"><span class="highLT">&lt;</span><span class="highELE">!DOCTYPE</span> <span class="highATT">html</span><span class="highGT">&gt;</span>
<span class="highLT">&lt;</span><span class="highELE">html</span><span class="highGT">&gt;</span>
<span class="highLT">&lt;</span><span class="highELE">head</span><span class="highGT">&gt;</span>
<span class="highLT">&lt;</span><span class="highELE">title</span><span class="highGT">&gt;</span>عنوان صفحه<span class="highLT">&lt;</span><span class="highELE">/title</span><span class="highGT">&gt;</span>
<span class="highLT">&lt;</span><span class="highELE">/head</span><span class="highGT">&gt;</span>
<span class="highLT">&lt;</span><span class="highELE">body</span><span class="highGT">&gt;</span>
<span class="highLT">&lt;</span><span class="highELE">h1</span><span class="highGT">&gt;</span>تیتر شماره 1<span class="highLT">&lt;</span><span class="highELE">/h1</span><span class="highGT">&gt;</span>
<span class="highLT">&lt;</span><span class="highELE">p</span><span class="highGT">&gt;</span>پاراگراف شماره 1<span class="highLT">&lt;</span><span class="highELE">/p</span><span class="highGT">&gt;</span>
<span class="highLT">&lt;</span><span class="highELE">/body</span><span class="highGT">&gt;</span>
<span class="highLT">&lt;</span><span class="highELE">/html</span><span class="highGT">&gt;

</span></pre>
<h2 class="example_code notranslate htmlHigh" style="text-align: justify;">توضیح مثال</h2>
<ul style="text-align: justify;">
<li class="example_code notranslate htmlHigh" style="text-align: right;">اعلان <strong>DOCTYPE</strong> نوع سند را به صورت HTML تعریف می‌کند.</li>
<li class="example_code notranslate htmlHigh" style="text-align: right;">متن بین <strong>&lt;html&gt;</strong> و <strong>&lt;html/&gt; </strong>سند HTML را توصیف می‌کند.</li>
<li class="example_code notranslate htmlHigh" style="text-align: right;">متن بین <strong>&lt;head&gt;</strong> و <strong>&lt;head/&gt;</strong> اطلاعاتی درباره سند ارائه می‌دهد.</li>
<li class="example_code notranslate htmlHigh" style="text-align: right;">متن بین <strong>&lt;title&gt;</strong> و <strong>&lt;title/&gt;</strong> یک عنوان برای سند قرار می‌دهد.</li>
<li class="example_code notranslate htmlHigh" style="text-align: right;">متن بین <strong>&lt;body&gt;</strong> و <strong>&lt;body/&gt;</strong> محتوای قابل نمایش داخل صفحه را تهیه میکند.</li>
<li class="example_code notranslate htmlHigh" style="text-align: right;">متن <strong>&lt;h1&gt;</strong> و <strong>&lt;h1/&gt;</strong> سرتیتر یا بزرگ ترین تیتر داخل محتوای قابل نمایش را توصیف می‌کند.</li>
<li class="example_code notranslate htmlHigh" style="text-align: right;">متن بین <strong>&lt;p&gt;</strong> و <strong>&lt;p/&gt;</strong> یک پاراگراف را توصیف می‌کند.</li>
</ul>
<p style="text-align: justify;">با این تواصیف یک مرورگر وب می تواند یک سرتیتر با یک پاراگراف را نمایش خواهد داد.</p>
<h2 style="text-align: justify;"><a href="http://blog.asiait.ir/category/%d8%a8%d8%b1%d9%86%d8%a7%d9%85%d9%87-%d9%86%d9%88%db%8c%d8%b3%db%8c/html/" target="_blank">تگ‌های HTML</a></h2>
<p style="text-align: justify;">تگ های <em>HTML</em> کلمات کلیدی هستند که داخل &lt;&gt; قرار میگیرند.</p>
<p class="htmlHigh" dir="ltr" style="text-align: justify;"><span class="highLT">&lt;</span><span class="highELE"><span style="color: #800000;">tagname</span></span><span class="highGT">&gt;</span>محتوا<span class="highLT">&lt;/</span><span class="highELE" style="color: #800000;">tagname</span><span class="highGT">&gt;</span></p>
<p style="text-align: justify;">
<ul style="text-align: justify;">
<li class="htmlHigh" style="text-align: right;"><em>تگ‌های HTML</em> معمولا به صورت یک جفت هستند که اولی درون &lt;&gt; و دومی درون&lt;/&gt; نوشته می‌شوند.</li>
<li class="htmlHigh" style="text-align: right;">تگ اول را تگ شروع و تگ دوم را تگ پایان می‌نامند.</li>
</ul>
<p style="text-align: justify;"><span style="color: #800000;"><div class="clear"></div><div class="toggle close"><h3 class="toggle-head-open">نکته 1<i class="fa fa-angle-up"></i></h3><h3 class="toggle-head-close">نکته 1<i class="fa fa-angle-down"></i></h3><div class="toggle-content">
			گاهی اوقات تگ شروع را تگ بازکردن و تگ پایان را تگ بستن می‌نامند.
			</div></div></span></p>
<h2 class="htmlHigh" style="text-align: justify;">مرورگرها</h2>
<p class="htmlHigh" style="text-align: justify;">یکی از اهداف مرورگرها توانایی خواندن و نمایش مستندات <strong>HTML</strong> است.</p>
<p class="htmlHigh" style="text-align: justify;">مرورگرها تگ‌های HTML را نمایش نمی‌دهند. آن‌ها تنها محتوای داخل تگ‌ها را تخمین زده و درصورت لزوم نمایش می‌دهند.</p>
<figure id="attachment_501" style="width: 634px;" class="asa-caption alignnone"><a href="http://blog.asiait.ir/asa-content/uploads/2015/03/browser.jpg"><img class="size-full asa-image-501" src="http://blog.asiait.ir/asa-content/uploads/2015/03/browser.jpg" alt="نحوه نمایش سند HTML در مرورگر" width="634" height="360" /></a><figcaption class="asa-caption-text">نحوه نمایش سند HTML در مرورگر</figcaption></figure>
<h2 class="htmlHigh" style="text-align: justify;"> ساختار صفحه HTML</h2>
<p class="example_code notranslate htmlHigh" dir="ltr" style="text-align: justify;">&lt;html&gt;<br />
<span style="color: #008000;"><span class="highLT">&lt;</span><span class="highELE">head</span><span class="highGT">&gt;</span></span><br />
<span style="color: #008000;"><span class="highLT">&lt;</span><span class="highELE">title</span><span class="highGT">&gt;</span>عنوان صفحه<span class="highLT">&lt;</span><span class="highELE">/title</span><span class="highGT">&gt;</span></span><br />
<span style="color: #008000;"><span class="highLT">&lt;</span><span class="highELE">/head</span><span class="highGT">&gt;</span></span><br />
<span style="color: #800000;"><span class="highLT">&lt;</span><span class="highELE">body</span><span class="highGT">&gt;</span></span><br />
<span style="color: #800000;"><span class="highLT">&lt;</span><span class="highELE">h1</span><span class="highGT">&gt;</span>تیتر شماره 1<span class="highLT">&lt;</span><span class="highELE">/h1</span><span class="highGT">&gt;</span></span><br />
<span style="color: #800000;"><span class="highLT">&lt;</span><span class="highELE">p</span><span class="highGT">&gt;</span>پاراگراف شماره 1<span class="highLT">&lt;</span><span class="highELE">/p</span><span class="highGT">&gt;<br />
</span><span class="highLT">&lt;</span><span class="highELE">p</span><span class="highGT">&gt;</span>پاراگراف شماره 2<span class="highLT">&lt;</span><span class="highELE">/p</span><span class="highGT">&gt;</span></span><br />
<span style="color: #800000;"><span class="highLT">&lt;</span><span class="highELE">/body</span><span class="highGT">&gt;<br />
</span></span>&lt;/html&gt;</p>
<p class="example_code notranslate htmlHigh" style="text-align: justify;">همانطور که مشاهده فرمودید فقط ساختار &lt;body&gt; که به رنگ <span style="color: #800000;">قرمز</span> است درون مرورگر نشان داده می‌شود.</p>
<p class="example_code notranslate htmlHigh" style="text-align: justify;">
<h2 dir="ltr" style="text-align: right;">&lt;!DOCTYPE&gt;اعلان</h2>
<p class="example_code notranslate htmlHigh" style="text-align: justify;">
<p class="example_code notranslate htmlHigh" style="text-align: justify;"> اعلان &lt;!DOCTYPE&gt; به مرورگر کمک می‌کند که صفحه وب را به درستی نمایش دهد. انواع مختلفی از اسناد تحت وب وجود دارد که یکی از آن‌ها <strong>HTML</strong> است.  برای اینکه صفحه وب به طرز صحیحی نمایش داده شود، مرورگر باید نوع و ورژن سند را بداند.</p>
<p class="example_code notranslate htmlHigh" style="text-align: justify;">doctype یا همان نوع سند به حروف کوچک و بزرگ حساس نیست و به شکل های زیر می تواند نمایش یابد.</p>
<pre dir="ltr"><span class="highLT">&lt;</span><span class="highELE">!DOCTYPE</span> <span class="highATT">html</span><span class="highGT">&gt;</span>
<span class="highLT">&lt;</span><span class="highELE">!DOCTYPE</span> <span class="highATT">HTML</span><span class="highGT">&gt;</span>
<span class="highLT">&lt;</span><span class="highELE">!doctype</span> <span class="highATT">html</span><span class="highGT">&gt;</span>
<span class="highLT">&lt;</span><span class="highELE">!Doctype</span> <span class="highATT">Html</span><span class="highGT">&gt;

</span></pre>
<h2 style="text-align: justify;">اعلان های رایج</h2>
<h3 dir="ltr" style="text-align: justify;"><a title="HTML" href="http://blog.asiait.ir/category/%d8%a8%d8%b1%d9%86%d8%a7%d9%85%d9%87-%d9%86%d9%88%db%8c%d8%b3%db%8c/html/" target="_blank">HTML5</a></h3>
<div class="code notranslate" dir="ltr" style="text-align: justify;">
<pre>&lt;!DOCTYPE html&gt;</pre>
</div>
<h3 dir="ltr" style="text-align: justify;"><a title="HTML" href="http://blog.asiait.ir/category/%d8%a8%d8%b1%d9%86%d8%a7%d9%85%d9%87-%d9%86%d9%88%db%8c%d8%b3%db%8c/html/" target="_blank">HTML 4.01</a></h3>
<div class="code notranslate" dir="ltr" style="text-align: justify;">
<pre>&lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"&gt;</pre>
</div>
<h3 dir="ltr" style="text-align: justify;"><a title="HTML" href="http://blog.asiait.ir/category/%d8%a8%d8%b1%d9%86%d8%a7%d9%85%d9%87-%d9%86%d9%88%db%8c%d8%b3%db%8c/html/" target="_blank">XHTML 1.0</a></h3>
<div class="code notranslate" dir="ltr" style="text-align: justify;">
<pre>&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;</pre>
</div>
<h2 style="text-align: justify;">نسخه‌های HTML</h2>
<table class="reference notranslate" style="height: 212px;" width="524">
<tbody>
<tr>
<th style="text-align: right;">نسخه</th>
<th style="text-align: right;">سال</th>
</tr>
<tr>
<td>HTML</td>
<td>1991</td>
</tr>
<tr>
<td>HTML 2.0</td>
<td>1995</td>
</tr>
<tr>
<td>HTML 3.2</td>
<td>1997</td>
</tr>
<tr>
<td>HTML 4.01</td>
<td>1999</td>
</tr>
<tr>
<td>XHTML</td>
<td>2000</td>
</tr>
<tr>
<td>HTML5</td>
<td>2014</td>
</tr>
</tbody>
</table>
<p style="text-align: justify;"><span style="color: #800000;">پایان بخش اول</span></p>
]]></content:encoded>
			<wfw:commentRss>https://blog.asiait.ir/%d9%85%d9%82%d8%af%d9%85%d9%87-%d8%a7%db%8c-%d8%a8%d8%b1-html/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>
