HTML مقدماتی:
[html]
<html>
<head>
<title>عنوان در اینجا</title>
</head>
<body>
متن قابل مشاهده در اینجا…
</body>
</html>
[/html]
عناصر تیتر:
[html]
<h1>بزرگترین تیتر</h1>
<h2> . . . </h2>
<h3> . . . </h3>
<h4> . . . </h4>
<h5> . . . </h5>
<h6>کوچکترین تیتر</h6>
[/html]
عناصر متن:
[html]
<p>این یک پاراگراف است</p>
<br /> (قطع خط)
<hr /> (خط کش افقی)
<pre>این متن از پیش قالب بندی شده است</pre>
[/html]
سبک های منطقی:
[html]
<em></em>
<strong></strong>
<code></code>
[/html]
سبک های فیزیکی:
[html]
<b>متن پررنگ</b>
<i>متن کج</i>
[/html]
لینک ها:
لینک معمولی:
[html]
<a href="https://www.onliner.ir/">متن لینک در اینجا</a>
[/html]
لینک تصویر :
[html]
<a href="http://www.example.com/"><img src"URL" alt="متن جایگزین عکس"/></a>
[/html]
لینک ارسال نامه:
[html]
<a href="mailto:webmaster@example.com">ارسال ایمیل</a>
[/html]
لیست نامرتب :
[html]
<ul>
<li>آیتم</li>
<li>آیتم</li>
</ul>
[/html]
لیست مرتب :
[html]
<ol>
<li>اولین آیتم</li>
<li>دومین آیتم</li>
</ol>
[/html]
لیست تعریفی:
[html]
<dl>
<dt>عبارت اول</dt>
<dd>تعریف</dd>
<dt>عبارت بعدی</dt>
<dd>تعریف</dd>
</dl>
[/html]
جداول:
[html]
<table border="1">
<tr>
<th>عنوان جدول</th>
<th>عنوان جدول</th>
</tr>
<tr>
<td>متن</td>
<td>متن</td>
</tr>
</table>
[/html]
IFRAME:
[html]
<iframe src="demo_iframe.htm"></iframe>
[/html]
قاب ها:
[html]
<frameset cols="25%,75%">
<frame src="page1.htm" />
<frame src="page2.htm" />
</frameset>
[/html]
فرم ها:
[html]
<form action="https://www.onliner.ir/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>
[/html]
موجودیت:
نوشتن ;< این را > چاپ میکند.
نوشتن ;> این را < چاپ میکند.
توشتن ;© این را © چاپ میکند.