Professional Documents
Culture Documents
Unit I
KEYWORD
S
Internet
Block quote
blocked information
Browser
Hypertext
URL
Values
URL
Description
Specifies the URL of
the quote, the one
taken from the web
Element of Division
Values
Left/Center/Right
Description
Specifies the division
of the content with
respect to horizontal
alignment
Below is a sample program using the DIV command or tag with its attribute.
HTML Program 2
Preformatted Element
The preformatted <PRE> tag helps you display the output just like how you
spaced your text in Notepad which is quite difficult to do in HTML. Paragraph <P>
tag or any of the highlighting tags should not be used within preformatted text;
however hypertext links can be included. The use of <PRE> tag is shown in HTML
Program 3.
HTML Program 3
The following is the Program Output of HTML Program 3 that used <PRE>
tag in the program.
Program Output 3
In the Program Output 3, notice that spaces and returns are lost and the
paragraph is set default to pitch font (usually courier).
7
KEYPOINTS
The preformatted <PRE> tag helps you display the output just like how you
have spaced your text in notepad which is quite difficult to do in HTML.
I.