Terminology Markup language Gives general layout quidelines Does not specify exact placement or format 哈工大计算机学院李全龙 Network Application Development Server Software Design 16
哈工大计算机学院 李全龙 Network Application Development Server Software Design 16 Terminology Markup language Gives general layout guidelines Does not specify exact placement or format
Consequence of Using A Markup Language Web documents use the representation. Instead of specifying a detailed document format, HTML allows a document to contain generalguidelines for display, and allows a browser to choose details. Consequently two browsers may display an HTML document differently 哈工大计算机学院李全龙 Network Application Development Server Software Design 17
哈工大计算机学院 李全龙 Network Application Development Server Software Design 17 Consequence of Using A Markup Language Web documents use the HyperText Markup Language representation. Instead of specifying a detailed document format, HTML allows a document to contain general guidelines for display, and allows a browser to choose details. Consequently, two browsers may display an HTML document differently
HTML Details Document is free-format Embedded tags give disple uidelines Taas often appear in pairs ag format Beginning tag:<TAGNAME> Ending tag </TAGNAME> 哈工大计算机学院李全龙 Network Application Development Server Software Design 18
哈工大计算机学院 李全龙 Network Application Development Server Software Design 18 HTML Details Document is free-format Embedded tags give display guidelines Tags often appear in pairs Tag format Beginning tag: <TAGNAME> Ending tag: </TAGNAME>
General Form of html Document <HTML <HEAD> <T工T> text that forms the document title </T工TLE> </HEAD> <BODY> body of the document appears here </BODY> </HTML> 哈工大计算机学院李全龙 Network Application Development Server Software Desi
哈工大计算机学院 李全龙 Network Application Development Server Software Design 19 General Form of HTML Document <HTML> <HEAD> <TITLE> text that forms the document title </TITLE> </HEAD> <BODY> body of the document appears here </BODY> </HTML>
Document Format HTML source is free-form Previous example equivalent to this <班卫M><HEAD<TTE> text that forms the document title</TITlEX</HEADXBODY>body of the document appears here</BODYX/HTML> 哈工大计算机学院李全龙 Network Application Development Server Software Design 20
哈工大计算机学院 李全龙 Network Application Development Server Software Design 20 Document Format <HTML><HEAD><TITLE> text that forms the document title</TITLE></HEAD><BODY>body of the document appears here</BODY></HTML> HTML source is free-form Previous example equivalent to this