Professional Documents
Culture Documents
About HTML: Prof. David Rossiter
About HTML: Prof. David Rossiter
About HTML: Prof. David Rossiter
1/8
2/8
HTML
HTML is the main language for building a web page
Around since the 1990's
Latest version is HTML 5, which we use
3/8
USING HTML
This is the original way in which HTML was conceived
1.Thebrowsersendsarequesttotheserver,
askingforawebpagesuchasindex.html
TheBrowser
3.Thebrowser
displaysthewebpage
TheServer
2.Theserversendsthe
webpagebacktothebrowser
4/8
4.After(3),
thepattern
continueswith
(1)again
TheBrowser
TheServer
3.Thebrowser
2.Theserversendsthesmall
displaysthedata pieceofdatabacktothebrowser
afterconversion,
thisdatamayormaynotbe
ifnecessary
intheformofHTML
5/8
AN ALTERNATIVE TO HTML
Here's a simple web page which uses only SVG
<svgxmlns="http://www.w3.org/2000/svg">
<textx="10"y="30"
style="fontweight:boldfontsize:34">MyWebPage</text>
<textx="10"y="80"
style="fontsize:34">Thiswebpageissoawesome!</text>
</svg>
MyWebPage
Thiswebpageissoawesome!
6/8
ebP
W
a
y
This
ge
web
s
pageis
me!
o
s
e
aw
COMPARISON
SVG - graphics approach, few libraries
HTML - text approach, many libraries
8/8