6. HT…
• HTML tells browser how to present content.
• HTTP protocol that talk clients and servers.
• server uses HTTP to send HTML to the client.
7. Hypertext Languages
Insert text that provides information about the
content of the text
SGML (Standard Generalized Markup Language):
• An ISO (1986) technology
• HTML, XHTML and XML: based SGML.
9. How to learn HTML
• We will keep coming back to HTML, but you
will learn it on your own
• Start with
– http://www.w3schools.com/html/default.asp
– http://www.w3schools.com/html5/default.asp
– or with
14. <head>
<style type="text/css">
.box300 {
width:300px;
height:300px;
border:1px solid black;
padding:10px;
}
</style>
</head>
<div class="box300">
This is a 300 by 300 pixel box
with a 1px border and 10px
padding.
</div>
<p>This is outside the box.</p>
This is a 300 by 300 pixel box
with a 1px border and 10px
padding.
This is outside the box.
15. <head>
<style type="text/css">
.box300 {
width:300px;
height:300px;
border:1px solid black;
padding:10px;
margin:10px;
}
</style>
</head>
<div class="box300">
This is a 300 by 300 pixel box
with a 1px border and 10px
Padding and 10px margin.
</div>
<p>This is outside the box.</p>
This is a 300 by 300 pixel box
with a 1px border and 10px
padding and 10px margin.
This is outside the box.
26. White Space
• Increased white space offers intimacy
• Minimalism
• White background for text, dark for pictures
27. white-space:
Text wrapping
New lines
Spaces and
tabs
normal
Collapse
Collapse
Wrap
pre
Preserve
Preserve
No wrap
nowrap
Collapse
Collapse
No wrap
pre-wrap
Preserve
Preserve
Wrap
pre-line
Preserve
Collapse
Wrap
28. Hypertext Transport Protocol (HTTP)
• Commands that browser sends and και the
(web) server understands
• HTTP commands (internal to the browser):
– GET filename : download
– POST filename : send a web form response
– PUT filename : upload
– HEAD, OPTIONS, DELETE, CONNECT, …
• Ctrl-Alt-Del
32. Homework
• Get you site hosted at wordpress.com
• Get your wordpress site hosted at a Virtual
Machine in https://okeanos.grnet.gr/
– Send me an e-mail with the e-mail you use to
register to oceanos
• Give your links as a comment (see our site)
Hinweis der Redaktion
Ενσωματωμένο, μέσα στην html. Καλό είναι να αποφεύγεται.Ενσωματωμένο στην αρχή της html.Εισάγω στην html ένα εξωτερικό αρχείο CSS (η μέθοδος που ενδείκνυται).