html and phppeople.uncw.edu/mferner/csc465/slides/webandhtml.pdf · markup validation service check...
TRANSCRIPT
-
…
-
••••••
-
HTTP request
HTTP response
Web Browser Web Server
HTML file
-
Slide 14
GET / HTTP/1.1 Host: www.example.com
HTTP/1.1 200 OK Content-Type: text/html Content-Length: 136 Server: Apache/2.2.3 Example Web Page
This is a sample web page
GET / HTTP/1.1
Host: www.example.com
A simple HTTP response
HTTP/1.1 200 OK
Content-Type: text/html
Content-Length: 136
Server: Apache/2.2.3
Example Web Page
This is a sample web page
-
http://www.w3.org/MarkUp/html-spec/html-spec_13.html
-
••••••
-
< attribute="value"
-
••
•
-
•••••
-
Web and HTML BasicsHTML CommandsBasic StructureAn HTML5 TemplateCreating your HTML fileViewing your file in a browserViewing changesEntering TextExample Some Style ElementsStatic Web SitesStatic Web SitesHow static web pages are processed�A Response with Header DataDynamic Web SitesEarly HTMLCSSCommon HTML character entitiesFrom XHTML to HTML5Best PracticesThe primary HTML5 Semantic ElementsXHTML-style blocksHTML5HTML5 Core Attributes: The ModifiersAnchor ElementAbsolute & Relative HyperlinksExamplesExamplesTablesExample ImagesValidation: validator.w3c.org