ملخص تقنية تصميم صفحات الويب - الوحدة الثانية (الجزء الثاني)
1. 1
Pre tag<html>
<body>
<pre>
This is
preformatted text.
It preserves both spaces
and line breaks.
</pre>
<p>The pre tag is good for displaying computer code:</p>
<pre>
for i = 1 to 10
print i
next i
</pre>
</body>
</html>
2. 2
Blockquote tag
<html>
<body>
Here comes a long quotation:
<blockquote>
This is a long quotation. This is a long quotation. This is a long quotation.
This is a long quotation. This is a long quotation.
</blockquote>
Here comes a short quotation:
<q>
This is a short quotation
</q>
<p>
With the block quote element, the browser inserts line breaks and
margins, but the q element does not render as anything special.
</p>
</body>
</html>
10. 10
Password fields
<html>
<body>
<form>
Username:
<input type="text" name="user">
<br>
Password:
<input type="password" name="password">
</form>
<p>
Note that when you type characters in a password field, the
browser displays asterisks or bullets instead of the characters.
</p>
</body>
</html>