50 likes | 68 Views
HTML: Hypertext Markup Language. The language to make web pages. HTML basics. HTML defines the structure of a web page Web browsers translate HTML and render the page Any text editor can be used to make web pages (e.g. Notepad, TextEdit ). Tags. Basic unit of HTML
E N D
HTML: Hypertext Markup Language The language to make web pages
HTML basics • HTML defines the structure of a web page • Web browsers translate HTML and render the page • Any text editor can be used to make web pages (e.g. Notepad, TextEdit)
Tags • Basic unit of HTML • Often used in pairs: <p> </p> • Always use lower case • Common tags: • <html> </html> • <head> </head> • <title> </title> • <body> </body>
A skeletal web page <html> <head> <title>Sample title</title> </head> <body> This is my web page. </body> </html>
Some common tags • <p> </p> paragraph • <strong> </strong> strong text (often boldface) • <em> </em> emphasize (often italics) • <h1> </h1> header tag (up to <h6> </h6>) • <hr /> horizontal rule (no ending tag) • <br /> line break (no ending tag)