S.Y.B.M.M. LECTURE SERIES - PART 2 ADVANCED COMPUTERS S.Y.B.M.M. LECTURE SERIES - PART 2 - KANISHKA KHATRI kanishka.vkhatri@gmail.com
Note : Current version is HTML5 (upgraded on May 2011). BASIC CONCEPTS OF HTML What is HTML ? HTML [Hypertext Markup Language] is the main markup language for creating web pages and other information that can be displayed in a web browser. Define structure of HTML. HTML is written in the form of HTML elements consisting tags enclosed in angle-brackets within the web content. Source : Wikipedia Note : Current version is HTML5 (upgraded on May 2011).
Structure of HTML tags [. . . Contd.] An HTML page is divided into 2 major sections: Head The head (<head></head>) section contains underlying information about the page which is not displayed in the webpage. Body The body (<body></body>) section contains all the stuff (text, image, flash movie, etc.) that appears on the actual web page when someone happens to come along with their web browser. Note : Every page MUST begin and end with the HTML tag.
Indentation of tags <html> <head> <title>Title of webpage</title> </head> <body> Contents of webpage </body> </html> Note: LIFO principle. Tags are case-insensitive. Extension .html / .htm Save as type “All Files”
You are now Ready to make your first webpage! Start basic designing using bold, italic and underline tags. Create three paragraphs [3-4 lines each]. Change the background colour of webpage. Check out different levels of header tags. Display (a+b)2 = a2+2ab+b2 & C+O2 = CO2 Divide sections of webpage using horizontal rule. Insert an image. Display pyramid of * as preformatted text. Display ordered list. Display unordered list.
That’s all folks! Any query?