220 likes | 556 Views
HTML Basics. What is HTML? . HTML stands for HyperText Markup Language and it is used to display the content you read and see on the web. How is HTML written?. HTML is comprised of one word commands enclosed within a less than and greater than sign. <html>. What is XHTML .
E N D
What is HTML? • HTML stands for HyperText Markup Language and it is used to display the content you read and see on the web.
How is HTML written? • HTML is comprised of one word commands enclosed within a less than and greater than sign. • <html>
What is XHTML • Extensible HyperText Markup Language. This is when there is an opening tag <strong> and a closing tag </strong>. • This is the preferred method when writing code.
How is an HTML Document Organized? • 1. DOCTYPE – (Helps browser translate the type of document.) • 2. HTML – (Contains all the tags that will be used within the HTML document.) • 3. HEAD – (Provides info about the author, title, and description of page.) • 4. TITLE – (Lets the viewer know the title of the page.) • 5. BODY – Holds all the information that will be displayed: text, images, videos, ads, etc.
How to create a simple webpage. • Go to the Start, Programs, Accessories, and click on NOTEPAD • Tell the browser what type of document. <html> • Insert tags and information. • USE YOUR TAG CHEAT SHEET! • Close the information with </html> • Save as your last name_first name.txt • Save a second time as your index.html • index.html will make this the homepage if you were to upload it on a hosting service.
A Simple Example of an HTML webpage: <html> <title>My First Webpage</title> <body> <body bgcolor=“green”> Welcome to my first webpage. I love to code, it is the most amazing discovery this year. I will use it often, especially when I sign into Tumblr at home. <p> I will create the most dynamic webpages, that I will be sent to graphic arts school after I graduate. The end.</p> </html>
Guess the Code:#1 Answer • <html> • <body> • <body bgcolor="pink"> • <h1>Papa Bear</h1> • <h3>Mama Bear</h3> • <h5>Baby Bear</h5> • <a href="http:www.amazon.com">Buy fairytales at Amazon.</a> • </body> • </html>
Guess the Code:#2 Answer • <html> • <body> • <a href="http://www.amazon.com"> • Amazon</a> • <a href="http://www.bloomingdales.com"> • Bloomingdales</a> • <p> • <a href="http://www.macys.com"> • Macys</a></p> • </body> • </html>
Guess the Code:#3 Answer • <html> • <body> • <p>Paragraphs have 3 or more sentences.</p> • <p>Here is a hint, this one doesn't.</p> • <p>What is the code?</p> • <p>But, wait I want a large • <h1>HEADING</h1> • Can it be <strong>BOLDED</strong> • too? Or even <em>Italicized.</em> • <p>That would be very cool!</p> • </body> • </html>
NOW…..go to http://piperyearbook.weebly.comFor your assignment.