Database Reference
In-Depth Information
In the HTML code for index.html, the HTML code segment:
By ThE WAy
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Strict//EN"
"http://www.w3.org/TR/html4/strict.dtd">
is an HTML/XML document type declaration (DTD), which is used to check and vali-
date the contents of the code that you write. DTDs are discussed later in this chapter.
For now, just include the code as it is written.
Figure 11-27
the HtML Code for the
index.html File in the VrG
Folder
'2&7<3(
KWPO
38%/,&
:&'7'+70/6WULFW(1
KWWSZZZZRUJ75KWPOVWULFWGWG
!
KWPO
!
KHDG
!
PHWD
KWWSHTXLY
&RQWHQW7\SH
FRQWHQW
WH[WKWPOFKDUVHW ,62
!
WLWOH
!
9LHZ5LGJH*DOOHU\'HPRQVWUDWLRQ3DJHV+RPH3DJH
WLWOH
!
KHDG
!
ERG\
!
K
VW\OH
WH[WDOLJQFHQWHUFRORUEOXH
!
'DWDEDVH3URFHVVLQJWK(GLWLRQ
K
!
K
VW\OH
WH[WDOLJQFHQWHUIRQWZHLJKWEROG
!
'DYLG0.URHQNH
K!
K
VW\OH
WH[WDOLJQFHQWHUIRQWZHLJKWEROG
!
'DYLG-$XHU
K!
KU
!
K
VW\OH
WH[WDOLJQFHQWHUFRORUEOXH
!
:HOFRPHWRWKH9LHZ5LGJH*DOOHU\+RPH3DJH
K
!
KU
!
S
!
&KDSWHU'HPRQVWUDWLRQ3DJHV)URP)LJXUHVLQWKH7H[W
S
!
S
!
([DPSOH
QEVSQEVSQEVS
D
KUHI
5HDG$UWLVWSKS
!
'LVSOD\WKH$57,677DEOH/DVW1DPH)LUVW1DPH1DWLRQDOLW\
D
!
S
!
KU
!
ERG\
!
KWPO
!
The
index.html
HTML
code—note how
indentation is used to
keep the code
organized and
readable
Figure 11-28
the HtML Code for the
index.html File as Microsoft
Notepad
Search WWH ::
Custom Search