Xem mẫu

Web Engineering Lecture 5-6 MAJID MUMTAZ Department of Computer Science, CIIT Wah 1 HTML – Hypertext Markup Language Components of HTML • HTML document composed in two components – Tags and – Attributes • Both are work togather to identify different document parts and tell the browser how to display them. E.g. A Tag specify a chunk of information be displayed as a paragraph or something else. Whereas attributes are optional part of tags specify information or more thoroughly explains about a particular tag e.g. Color, aligenment, width and height etc. 2 HTML – Hypertext Markup Language (cont.) First Web Page Head Tag HTMLTag Body Tag 3 “Hello World!” in HTML 4.01 style Hello World! HTML

Hello World!

4 DOCTYPE: difference between HTML 4.01 and HTML 5 There are three different declarations in HTML 4.01. In HTML 5 there is only one: i.e. HTML 4.01 Strict This DTD contains all HTML elements and attributes, but does NOT INCLUDE presentational or deprecated elements (like font). Framesets are not allowed. 5 ... - tailieumienphi.vn
nguon tai.lieu . vn