-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathDoctype.htm
44 lines (43 loc) · 1.51 KB
/
Doctype.htm
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<!DOCTYPE HTML 4.0 TRANSITIONAL PUBLIC "_//w3c//dtd html 4.0//en">
<HTML>
<HEAD>
<LINK REL=STYLESHEET TYPE="TEXT/CSS" HREF="STYLES.CSS">
<TITLE> HTML Tutorial </TITLE>
</HEAD>
<body class="MIC">
<H1> !DOCTYPE </H1>
This is the <SPAN CLASS= INTRO> First HTML Tag</SPAN>.
This tells the Browser about the <SPAN CLASS="INTRO"> Document Type </SPAN>
& how the document is to be handled & what version of HTML is used. This
helps the browser to decide how the tags are to be handled & the information
of the page is to be displayed. This is not a Container Tag and thus need not
be closed.
<H4> Attributes </H4>
<OL>
<LI CLASS="HAND"> HTML 4.0 TRANSITIONAL :
<SPAN CLASS= MAIN> Used for pages that still rely
on deprecated tags such as FONT & BGCOLOR.
</SPAN>
<LI CLASS="HAND"> HTML 4.0 :
<SPAN CLASS= MAIN> Used for pages that don't us the
deprecated tags. </SPAN>
<LI CLASS="HAND"> HTML 4.0 FRAMESET :
<SPAN CLASS= MAIN> Used for pages using Frames.
</SPAN>
<LI CLASS="HAND"> HTML X.0 :
<SPAN CLASS= MAIN> Used for pages using earlier
versions of HTML. Specify the appropriate
version no. instead of 'X'. </SPAN>
</OL>
<H2> Syntax </H2>
<SPAN CLASS= MAIN> <!DOCTYPE HTML idstring> </SPAN>
<H3> Example </H3>
<SPAN CLASS= MAIN> <!DOCTYPE HTML Public "_//w3c//dtd HTML
4.0 //EN"> </SPAN>
<BR>
<BR>
<A HREF=" INTRO.HTM" TITLE="HTML Tutorial Home-Introduction to HTML"> Home </A>
<BR>
<A HREF=" ABOUT.HTM" TITLE="About HTML Tutorial"> About </A>
</BODY>
</HTML>