
در زیر فهرست سریع HTML از سایت w3schools گردآوری شده است که آن را
می توانید پرینت کنید و هر زمانی که احساس نیاز کردید فورا استفاده کنید
سند اصلی HTML
<html>
<head>
<title/> عنوان سند در اینجا نوشته میشود <title>
<head/>
<body>
متن قابل دیدن اینجا نوشته می شود <body/>
<html/>
عناصر سرتیتر
<h1/>بزرگترین سر تیتر<h1>
<h2> . . . </h2>
<h3> . . . </h3>
<h4> . . . </h4>
<h5> . . . </h5>
<h6/>کوچکترین سر تیتر<h6>
عناصر متن
<p/>این یک پاراگراف است<p>
( یک خط شکسته یا خط جدید ایجاد می کند) </br>
(یک خط افقی) </hr>
<pre/>این یک نوشته بدون فرمت است<pre>
Logical Styles
<em/>این یک متن تاکیدی است<em>
<strong/>این یک متن ضخیم است<strong>
<code/>این یک کد کامپیوتری است<code>
Physical Styles
<b/>این یک متن ضخیم است<b>
<i/>این یک متن مورب(کج) است<i>
توضیح: تگ هایی مانند <b><i><u><s>
را physical
می نامند یعنی متن بکار رفته در
آنها بصورت آنچه که انتظار داریم نمایان میشوند اما
در مقابل ، تگ های logical هم
هستند که تنظیمات مرورگرها در آنها موثر خواهند بود
لینک ها (پیوندها)
<Ordinary link:
<a href="http://www.example.com">Link-text goes here</a
Image-link:
<a href="http://www.example.com"><img src="URL"
alt="Alternate Text" /></a>
Mailto link
<a href="mailto:webmaster@example.com"> Send e-mail </a>
A named anchor
<a name="tips">Tips Section</a>
<a href="#tips">Jump to the Tips Section</a>
لیست بدون ترتیب
<ul>
<li>Item</li>
<li>Item</li>
<ul/>لیست با ترتیب
<ol>
<li>First item</li>
<li>Second item</li>
<ol/>
لیست تعریفی
<dl>
<dt>First term</dt>
<dd>Definition</dd>
<dt>Next term</dt>
<dd>Definition</dd>
<dl/>
جدول ها
<"table border="1>
<tr>
<th>Tableheader</th>
<th>Tableheader</th>
<tr/>
<tr>
<td>sometext</td>
<td>sometext</td>
<tr/>
<table/>
قاب ها
<"frameset cols="25%,75%>
</frame src="page1.htm>
</frame src="page2.htm>
<frameset/>
فرم ها
<"form action="http://www.example.com/test.asp" method="post/get>
</"input type="text" name="email"
size="40" maxlength="50>
</"input type="password>
</"input type="checkbox" checked="checked>
</"input type="radio" checked="checked>
</"input type="submit" value="Send>
</"input type="reset>
</"input type="hidden>
<select>
<option>Apples</option>
<option selected="selected">Bananas</option>
<option>Cherries</option>
<select/>
<textarea name="comment" rows="60"
cols="20"></textarea>
<form/>
Entities
< lt; is the same as&
> gt; is the same as&
عناصر دیگر
<!-- این یک کامنت(نظر)است -->
<blockquote>
این یک نقل قول بلند است
<blockquote/>
<address>
Written by W3Schools.com<br />
<a href="mailto:us@example.org">Email us</a><br />
Address: Box 564, Disneyland<br />
Phone: +12 34 56 78
<address/>
Source : http://www.w3schools.com/html/html_quick.asp