ip 02

13
1 Chapter 2: Web page Development using HTML 2.1 What is HTML? HTML is a language for describing web pages.  HTML stands for Hyper Text Markup Language  HTML is a markup language  A markup language is a set of markup  tags  The tags describes document content  HTML documents contain HTML tags and plain text  HTML documents are also called  web pages 2.2 HTML tags HTML markup tags are usually called HTML tags  HTML tags are keywords (tag names) surrounded by angle brackets like <html>  HTML tags normally come in pairs like <b> and </b>  The first tag in a pair is the start tag, the second tag is the end tag  The end tag is written like the start tag, with a forward slash before the tag name  Start and end tags are also called opening tags and closing tags 2.3 Creating HTML documents Type html code in a notepad file and save it with .htm or .html extension. Open the file in any internet  browser 2.4 Breaking pages into paragraphs and other breaks Browser ignores white spaces such as blank space, tab, line break, paragraph etc. from html file. You can have blankspace by typing &nbsp; Line break by typing <br> at the end of the line Paragraph by typing it with in <p> </p> Preforma tted content by typing it within <pre> </pre> 2.5 HTML style tag CSS Styles can be attached to html pages by using style tag. <html> <head> <style> h1 {color:red;}  p {color:blue;} </style> </head> <body> <h1>This is a heading</ h1> <p>This is a paragraph.</p> </body> </html>

Upload: scribd9885343478

Post on 02-Jun-2018

216 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: IP 02

8/10/2019 IP 02

http://slidepdf.com/reader/full/ip-02 1/13

Page 2: IP 02

8/10/2019 IP 02

http://slidepdf.com/reader/full/ip-02 2/13

Page 3: IP 02

8/10/2019 IP 02

http://slidepdf.com/reader/full/ip-02 3/13

Page 5: IP 02

8/10/2019 IP 02

http://slidepdf.com/reader/full/ip-02 5/13

Page 6: IP 02

8/10/2019 IP 02

http://slidepdf.com/reader/full/ip-02 6/13

Page 7: IP 02

8/10/2019 IP 02

http://slidepdf.com/reader/full/ip-02 7/13

Page 8: IP 02

8/10/2019 IP 02

http://slidepdf.com/reader/full/ip-02 8/13

Page 9: IP 02

8/10/2019 IP 02

http://slidepdf.com/reader/full/ip-02 9/13

Page 10: IP 02

8/10/2019 IP 02

http://slidepdf.com/reader/full/ip-02 10/13

Page 12: IP 02

8/10/2019 IP 02

http://slidepdf.com/reader/full/ip-02 12/13

Page 13: IP 02

8/10/2019 IP 02

http://slidepdf.com/reader/full/ip-02 13/13