TEAM FLY PRESENTS Simpo PDF Merge and Split Unregistered Version - http://www.simpopdf.com... TEAM FLY PRESENTS Simpo PDF Merge and Split Unregistered Version - http://www.simpopdf.com
Trang 1886
EM
Renders text as emphasized, usually in italics ALL
<event _ name>=script _ code 8 8 9 8 8 8 8 8 9
TEAM FLY PRESENTS
Simpo PDF Merge and Split Unregistered Version - http://www.simpopdf.com
Trang 2Draws a box around the contained elements to indicate related items HTML 4.0, IE4, IE5
<event _ name>=script _ code 8 8 9 8 8 8 8 8 9
Trang 3888
FONT
Specifies the font face, size, and color for rendering the text HTML 3.2, N2, N3, N4, IE2, IE3, IE4, IE5, deprecated in HTML 4.0
<event _ name>=script _ code 8 8 8 8 8 8 8 8 9
Denotes a form containing controls and elements, whose values are sent to a server ALL
<event _ name>=script _ code 8 8 9 8 8 9 8 9 9
TEAM FLY PRESENTS
Simpo PDF Merge and Split Unregistered Version - http://www.simpopdf.com
Trang 4TARGET=<window _ name>| _ parent|
_ blank| _ top| _ self
8 8 9 9 9 9 8 9 9
TITLE=string 8 8 9 8 8 8 8 8 9
FRAME
Specifies an individual frame within a frameset HTML 4.0, N2, N3, N4, IE3, IE4, IE5
<event _ name>=script _ code 8 8 8 8 8 9 8 8 9
Trang 5<event _ name>=script _ code 8 8 9 8 8 8 8 8 8
Contains tags holding uNiewed information about the document ALL
TEAM FLY PRESENTS
Simpo PDF Merge and Split Unregistered Version - http://www.simpopdf.com
Trang 6891
Hn
The six elements (H1 to H6) render text as a range of heading styles ALL
<event _ name>=script _ code 8 8 9 8 8 8 8 8 9
Places a horizontal rule in the page ALL
<event _ name>=script _ code 8 8 9 8 8 8 8 8 9
Trang 7892
HTML
The outer tag for the page, which identifies the document as containing HTML elements ALL
Renders text in an italic font where available ALL
<event _ name>=script _ code 8 8 9 8 8 8 8 8 9
TEAM FLY PRESENTS
Simpo PDF Merge and Split Unregistered Version - http://www.simpopdf.com
Trang 8893
IFRAME
Used to create in-line floating frames within the page HTML 4.0, IE3, IE4, IE5
Trang 9894
ILAYER
Defines a separate area of the page as an inline layer that can hold a different page N4 only
<event _ name>=script _ code 8 8 8 8 8 9 8 8 8
TEAM FLY PRESENTS
Simpo PDF Merge and Split Unregistered Version - http://www.simpopdf.com
Trang 10895
IMG
Embeds an image or a video clip in the document ALL
<event _ name>=script _ code 8 8 9 8 8 9 8 8 9
Trang 11896
INPUT
Specifies a form input control, such as a button, text or check box ALL
<event _ name>=script _ code 8 8 9 8 8 9 8 9 9
TEAM FLY PRESENTS
Simpo PDF Merge and Split Unregistered Version - http://www.simpopdf.com
Trang 12897
INS
Indicates a section of the document that has been inserted since a previous version.HTML 4.0, IE4, IE5
<event _ name>=script _ code 8 8 9 8 8 8 8 8 9
Indicates the presence of a searchable index ALL Deprecated in HTML 4.0
Trang 13898
KBD
Renders text in fixed-width font, as though entered on a keyboard ALL
<event _ name>=script _ code 8 8 9 8 8 8 8 8 9
Used to generate key material in the page N2, N3, N4
CHALLENGE=string 8 8 8 8 8 9 8 8 8
CLASS=classname 8 8 8 8 8 9 8 8 8
ID=string 8 8 8 8 8 9 8 8 8
NAME=string 8 8 8 8 8 9 8 8 8
TEAM FLY PRESENTS
Simpo PDF Merge and Split Unregistered Version - http://www.simpopdf.com
Trang 14899
LABEL
Defines the text of a label for a control-like element HTML 4.0, IE4, IE5
<event _ name>=script _ code 8 8 9 8 8 8 8 8 9
Trang 15900
LAYER
Defines a separate area of the page as a layer that can hold a different page N4 only
<event _ name>=script _ code 8 8 8 8 8 9 8 8 8
TEAM FLY PRESENTS
Simpo PDF Merge and Split Unregistered Version - http://www.simpopdf.com
Trang 16901
LEGEND
Defines the title text to place in the 'box' created by a FIELDSET tag HTML 4.0, IE4, IE5
<event _ name>=script _ code 8 8 9 8 8 8 8 8 9
Denotes one item within an ordered or unordered list ALL
<event _ name>=script _ code 8 8 9 8 8 8 8 8 9
Trang 17902
LINK
Defines a hyperlink between the document and some other resource HTML 2.0, 3.2 & 4.0, IE3, IE4, IE5
<event _ name>=script _ code 8 8 9 8 8 8 8 8 8
TARGET=<window _ name>| _ parent|
_ blank| _ top| _ self
8 8 9 8 8 8 8 8 8
TITLE=string 9 9 9 9 9 9 8 9 9
TYPE=MIME-type 8 8 9 8 8 9 8 9 9
URN=string 9 8 8 8 8 8 8 8 8
TEAM FLY PRESENTS
Simpo PDF Merge and Split Unregistered Version - http://www.simpopdf.com
Trang 18903
LISTING
Renders text in fixed-width type Use PRE instead HTML 2.0, deprecated 3.2, supported IE2, IE3, IE4, IE5
<event _ name>=script _ code 8 8 8 8 8 8 8 8 9
Specifies a collection of hot spots for a client-side image map ALL except HTML 2.0
<event _ name>=script _ code 8 8 8 8 8 8 8 8 9
Trang 19904
MARQUEE
Creates a scrolling text marquee in the page IE2, IE3, IE4, IE5
<event _ name>=script _ code 8 8 8 8 8 8 8 8 9
TEAM FLY PRESENTS
Simpo PDF Merge and Split Unregistered Version - http://www.simpopdf.com
Trang 20905
MENU
Renders the following block of text as individual items Use lists instead ALL, deprecated in HTML 4.0
<event _ name>=script _ code 8 8 D 8 8 8 8 8 9
Provides various types of unviewed information or instructions to the browser ALL
Trang 21906
MULTICOL
Used to define multiple column formatting N2, N3, N4
Defines values used by text editing software when parsing or creating the document HTML 2.0 only
NOBR
Renders text without any text wrapping in the page N2, N3, N4, IE2, IE3, IE4, IE5
ID=string 8 8 8 8 8 8 8 8 9
STYLE=string 8 8 8 8 8 8 8 8 9
TITLE=string 8 8 8 8 8 8 8 8 9
NOEMBED
Defines the HTML to be displayed by browsers that do not support embeds N2, N3, N4
TEAM FLY PRESENTS
Simpo PDF Merge and Split Unregistered Version - http://www.simpopdf.com
Trang 22Inserts an object or other non-intrinsic HTML control into the page HTML 4.0, IE3, IE4, IE5
<event _ name>=script _ code 8 8 9 8 8 8 8 8 9
Table Continued on Following Page
TEAM FLY PRESENTS
Trang 23TEAM FLY PRESENTS
Simpo PDF Merge and Split Unregistered Version - http://www.simpopdf.com
Trang 24909
OL
Renders lines of text that have <LI> tags as an ordered list ALL
<event _ name>=script _ code 8 8 9 8 8 8 8 8 9
Creates a collapsible and hierarchical list of options
<event _ name>=script _ code 8 8 9 8 8 8 8 8 8
Trang 25910
OPTION
Denotes one choice in a SELECT drop-down or list element ALL
<event _ name>=script _ code 8 8 9 8 8 8 8 8 9
Denotes a paragraph The end tag is optional ALL
<event _ name>=script _ code 8 8 9 8 8 8 8 8 9
TEAM FLY PRESENTS
Simpo PDF Merge and Split Unregistered Version - http://www.simpopdf.com
Trang 26911
PARAM
Used in an OBJECT or APPLET tag to set the object's properties ALL except HTML 2.0
<event _ name>=script _ code 8 8 8 8 8 8 8 8 9
Trang 27912
PRE
Renders text in fixed-width type ALL
<event _ name>=script _ code 8 8 9 8 8 8 8 8 9
A short quotation, such as the URL of the source document or a message HTML 4.0, IE4, IE5
<event _ name>=script _ code 8 8 9 8 8 8 8 8 9
TEAM FLY PRESENTS
Simpo PDF Merge and Split Unregistered Version - http://www.simpopdf.com
Trang 28913
S
Renders text in strikethrough type Supported in HTML 3.2, N3, N4, IE2, IE3, IE4, IE5 deprecated in HTML 4.0
<event _ name>=script _ code 8 8 D 8 8 8 8 8 9
Renders text as a code sample listing, usually in a smaller font ALL
<event _ name>=script _ code 8 8 9 8 8 8 8 8 9
Trang 29TEAM FLY PRESENTS
Simpo PDF Merge and Split Unregistered Version - http://www.simpopdf.com
Trang 30915
SELECT
Defines a list box or drop-down list ALL
<event _ name>=script _ code 8 8 9 8 8 9 8 8 9
Used to run a Netscape LiveWire script N2, N3, N4
CLASS=classname 8 8 8 8 8 9 8 8 8
ID=string 8 8 8 8 8 9 8 8 8
TEAM FLY PRESENTS
Trang 31916
SMALL
Specifies that text should be displayed with a smaller font than the current font HTML 3.2, 4.0, N2, N3, N4, IE3, IE4, IE5
<event _ name>=script _ code 8 8 9 8 8 8 8 8 9
Used to specify vertical and horizontal spacing of elements HTML 3.2, 4.0, N2, N3, N4, IE3, IE4, IE5
TEAM FLY PRESENTS
Simpo PDF Merge and Split Unregistered Version - http://www.simpopdf.com
Trang 32917
SPAN
Used (with a style sheet) to define non-standard attributes for text on the page HTML 4.0, IE4, IE5
<event _ name>=script _ code 8 8 9 8 8 8 8 8 9
Trang 33918
STRIKE
Renders text in strikethrough type HTML 3.2, N3, N4, IE3, IE4, IE5, deprecated in HTML 4.0
<event _ name>=script _ code 8 8 D 8 8 8 8 8 9
Renders text in bold face ALL
<event _ name>=script _ code 8 8 9 8 8 8 8 8 9
TEAM FLY PRESENTS
Simpo PDF Merge and Split Unregistered Version - http://www.simpopdf.com
Trang 34919
STYLE
Specifies the style properties (i.e the style sheet) for the page HTML 3.2, 4.0, N4, IE3, IE4, IE5
<event _ name>=script _ code 8 8 9 8 8 8 8 8 9
Trang 35920
SUP
Renders text as a superscript using a smaller font than the current font HTML 3.2, 4.0, N2, N3, N4, IE3, IE4, IE5
<event _ name>=script _ code 8 8 9 8 8 8 8 8 9
<event _ name>=script _ code 8 8 9 8 8 8 8 8 9
TEAM FLY PRESENTS
Simpo PDF Merge and Split Unregistered Version - http://www.simpopdf.com
Trang 37922
TBODY
Denotes a section of <TR> and <TD> tags forming the body of the table HTML 4.0, IE3, IE4, IE5
<event _ name>=script _ code 8 8 9 8 8 8 8 8 9
TEAM FLY PRESENTS
Simpo PDF Merge and Split Unregistered Version - http://www.simpopdf.com
Trang 38923
TD
Specifies a cell in a table HTML 3.2, 4.0, N2, N3, N4, IE3, IE4, IE5
<event _ name>=script _ code 8 8 9 8 8 8 8 8 9
Trang 39924
TEXTAREA
Specifies a multi-line text input control ALL
<event _ name>=script _ code 8 8 9 8 8 9 8 8 9
TEAM FLY PRESENTS
Simpo PDF Merge and Split Unregistered Version - http://www.simpopdf.com
Trang 40925
TFOOT
Denotes a set of rows to be used as the footer of a table HTML 4.0, IE3, IE4, IE5
<event _ name>=script _ code 8 8 9 8 8 8 8 8 9
Trang 41926
TH
Denotes a header row in a table Contents are usually bold and centered within each cell HTML 3.2, 4.0, N2, N3, N4, IE2, IE3, IE4, IE5
<event _ name>=script _ code 8 8 9 8 8 8 8 8 9
TEAM FLY PRESENTS
Simpo PDF Merge and Split Unregistered Version - http://www.simpopdf.com
Trang 42927
THEAD
Denotes a set of rows to be used as the header of a table HTML 4.0, IE3, IE4, IE5
<event _ name>=script _ code 8 8 9 8 8 8 8 8 9
Denotes the title of the document and used in the browser's window title bar ALL
Trang 43928
TR
Specifies a row in a table HTML 3.2, 4.0, N2, N3, N4, IE3, IE4, IE5
<event _ name>=script _ code 8 8 9 8 8 8 8 8 9
TEAM FLY PRESENTS
Simpo PDF Merge and Split Unregistered Version - http://www.simpopdf.com
Trang 44929
TT
Renders text in fixed-width type ALL
<event _ name>=script _ code 8 8 9 8 8 8 8 8 9
Renders text underlined HTML 3.2, N3, N4, IE2, IE3, IE4, IE5, deprecated in HTML 4.0
<event _ name>=script _ code 8 8 D 8 8 8 8 8 9
Trang 45930
UL
Renders lines of text which have <LI> tags as a bulleted list ALL
<event _ name>=script _ code 8 8 9 8 8 8 8 8 9
Renders text as a small fixed-width font HTML 2.0, 3.2, 4.0, IE2, IE3, IE4, IE5
<event _ name>=script _ code 8 8 9 8 8 8 8 8 9
TEAM FLY PRESENTS
Simpo PDF Merge and Split Unregistered Version - http://www.simpopdf.com
Trang 46931
WBR
Inserts a soft line break in a block of NOBR text N2, N3, N4, IE3, IE4, IE5
<event _ name>=script _ code 8 8 8 8 8 8 8 8 9
Trang 47HTTP Request and Response
The Hypertext Transfer Protocol (HTTP) is an application-level protocol for distributed hypermedia
information systems It is a generic, stateless protocol, which can be used for many tasks beyond its use for hypertext A feature of HTTP is the typing and negotiation of data representation, allowing systems to be built independently of the data being transferred
The first version of HTTP, referred to as HTTP/0.9, was a simple protocol for raw data transfer across the Internet HTTP/1.0, as defined by RFC 1945 improved the protocol by allowing messages to be in a MIME-like format, containing meta-information about the data transferred and modifiers on the request/response semantics The current version HTTP/1.1, first defined in RFC 2068 and more recently in RFC 2616, made performance improvements by making all connections persistent and supporting absolute URLs in requests
URL Request Protocols
A URL is a pointer to a particular resource on the Internet at a particular location and has a standard format
as follows:
Protocol Servername Filepath
In order, the three elements are the protocol used to access the server, the name of the server and the
location of the resource on the server For example:
http://www.mydomain.com/
https://www.mydomain.com:8080/
ftp://ftp.mydomain.com/example.txt mailto:me@world.com
file:///c:|Windows/win.exe
TEAM FLY PRESENTS
Simpo PDF Merge and Split Unregistered Version - http://www.simpopdf.com
Trang 481060
The servername and filepath pieces of the URL are totally dependent on where files are stored on your server and what you have called it, but there are a standard collection of protocols, most of which you should be familiar with:
❑ http: Normal HTTP requests for documents
❑ https: Secure HTTP requests The specific behavior of these depends on the security certificates and encryption keys you have set up
❑ JavaScript: Executes JavaScript code within the current document
❑ ftp: Retrieves documents from an FTP (File Transfer Protocol) server
❑ file: Loads a file stored on the local (Client) machine It can refer to remote servers but specifies no particular access protocol to remote file systems
❑ news: Used to access Usenet newsgroups for articles
❑ nntp: More sophisticated access to news servers
❑ mailto: Allows mail to be sent from the browser It may call in assistance from a helper app
❑ telnet: Opens an interactive session with the server
❑ gopher: A precursor to the World Wide Web
This book exclusively deals with the first five of these
Method Request- URI Protocol
For example,
GET /index.html HTTP/1.0
uses the GET method to request the document /index.html using version 1.0 of the protocol We'll come
to a full list of HTTP Request Methods later
Next, the client sends optional header information to the server about its configuration and the document formats it will accept All header information is sent line by line, each with a header name and value in the form:
TEAM FLY PRESENTS
Trang 49Finally, after sending the request and headers the client may send additional data This data is mostly used
by CGI programs using the POST method This additional information is called a request entity Finally a blank line (\r\n\r\n) terminates the request A complete request might look like the following:
GET /index.html HTTP/1.0 Accept: */*
Connection: Keep-Alive Host: www.w3.org User-Agent: Generic
OPTIONS Used to query a server about the capabilities it provides Queries can be general or
specific to a particular resource
GET Asks that the server return the body of the document identified in the
Request-URI
HEAD Responds similarly to a GET, except that no content body is ever returned It is a
way of checking whether a document has been updated since the last request
POST This is used to transfer a block of data to the server in the content body of the
request
PUT This is the complement of a GET request and stores the content body at the
location specified by the Request-URI It is similar to uploading a file with FTP
DELETE Provides a way to delete a document from the server The document to be deleted
is indicated in the Request-URI
TRACE This is used to track the path of a request through firewalls and multiple proxy
servers It is useful for debugging complex network problems and is similar to the traceroute tool
TEAM FLY PRESENTS
Simpo PDF Merge and Split Unregistered Version - http://www.simpopdf.com