220 likes | 300 Views
HTML Hyper Text Markup Language. Contents. Introduction What is HTML HTML Basic Contents HTML Phases Tags Properties Image Integration Forms. What is HTML ?. H-T-M-L are initials that stand for Hyper Text Markup Language
E N D
Contents • Introduction • What is HTML • HTML Basic Contents • HTML Phases • Tags Properties • Image Integration • Forms
What is HTML ? • H-T-M-L are initials that stand for Hyper Text Markup Language • Hyper is the opposite of linear. It used to be that computer programs had to move in a linear fashion. This before this, this before this, and so on. HTML does not hold to that pattern and allows the person viewing the World Wide Web page to go anywhere, any time they want. • Text is what you will use. Real, honest to goodness English letters. • Mark up is what you will do. You will write in plain English and then mark up what you wrote. More to come on that in the next Primer. • Language because they needed something that started with "L" to finish HTML and Hypertext Markup Louie didn't flow correctly. Because it's a language, really -- but the language is plain English.
HTML Basic Contents HTML <body> <head> Web Page <table> <title> <meta>
HTML Phases Phase 1 Phase 2 Phase 3 • <body> • <table> • <tr> <td></td> </tr> • </table> • </body> • <html> • <head> • <meta /> • <title></title> • </head> • <body> • </body> • </html> • <html> • <head> • <title></title> • </head> • <body> • </body> • </html>
Tags Properties <table> <font> <img> <body> bgcolor="#FF9900" leftmargin="0" rightmargin="0" topmargin="0" text="#FFFFFF" link="#FFFFFF" vlink="#FFFFFF" alink="#FFFFFF" bgcolor="#FF9900" background=“url“ width="780“ Height=“400” border="0" face="Arial" color="#990000" size="+4“ Style=“css” src=“url“ align="left" border="0" height="50" width="50"
Image Integration align src border <img> height / width title Example: <imgsrc="img/logo.jpg" align="middle" border="1" title="my logo" height="50" width="50" />
Image with link "_blank" | "_parent" | "_self" | "_top" | window name target align src border href <a> <img> Height width title title • Example: • <a href=“page.htm” target="_parent" title="any"> • <imgsrc="img/logo.jpg"/> • </a>
Forms (text box) <input name="textfield" type="text" value="your name"/>
Forms (text area) <textarea name="textfield9" rows="3"> </textarea>
Forms (radio buttons) <input name="radio_male" type="radio" value="radiobutton" /> Male <input name="radio_female" type="radio" value="radiobutton" /> Female checked="checked"
Forms (Check box) <input type="checkbox“ value="checkbox" /> Networking<br /> <input type="checkbox“ value="checkbox" />Web designing <br /> <input type="checkbox“ value="checkbox" /> Database checked="checked"
Forms (Combo Box) <select name="state" id="state"> <OPTION VALUE=''> -- Please Select State -- <OPTION VALUE='AK'> AK <OPTION VALUE='AL' > AL <OPTION VALUE='AR' > AR <OPTION VALUE='AZ' > AZ <OPTION VALUE='CA' > CA <OPTION VALUE='CO' > CO <OPTION VALUE='CT' > CT <OPTION VALUE='DC' > DC <OPTION VALUE='WY' > WY </select>
Forms (buttons) <input name="Submit2" type="submit" value="Submit" /> <input name="Submit1" type=“reset" value=“Reset" />