1 / 19

HTML: HyperText Markup Language

The Language of The Web. HTML: HyperText Markup Language . The Web Has Become The Universal form of Communication!. How Does the Web Work?. To make Web pages, you create files written in HTML and place them on a Web server. Web Server.

genero
Télécharger la présentation

HTML: HyperText Markup Language

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. The Language of The Web HTML:HyperText Markup Language

  2. TheWebHasBecomeThe Universalform ofCommunication!

  3. How Does the Web Work? To make Web pages, you create files written in HTML and place them on a Web server Web Server Once you put your file on a Web server, any browser can retrieve it over the internet The HTML in your web page tells the web browser how to display the page

  4. The server is just a computer connected to the Internet waiting for requests from browsers “I need the HTML file “Starbuz” What does the Web server do? Each server stores HTML files Found it, here ya go

  5. <html> <head> <title>Funville Dance</title> </head> <body> <h1>Welcome to Funville Dance Club</h1> <p> Join us any evening for a night of fun, conversation, and maybe a game or two of <em>Dance Dance Revolution</em> Wireless accessis always provided </p> </body> </html> What you write (HTML)

  6. Tags • An HTML document defines content and layout with tags < > • Tags – comprised of elements inside angle brackets < > • Indicate – The start and end of a set of instruction • Spaces – there should be no spaces in a tag

  7. Tags affect the text they enclose • <p> Join us any evening for a night of fun, conversation, and maybe a game or two of • <em>Dance Revolution</em>. Wireless access is always provided </p> • The <p> tag begins a paragraph • The </p> ends the paragraph • The <em> and </em> Emphasizes the words in between

  8. 4 main document tags: • <html> - tells the browser that what’s to follow is HTML • <head> - title, information not displayed in the browser • <title> - displayed in the title bar of the browser window – should be descriptive • <body> the web content (text, graphics etc.)

  9. For Every Opening tag, there is an Ending tag • <html> </html> • <head></head> • <title></title> • <body></body> The / indicates the end of an instruction

  10. What program do you use for HTML? • A Text Editor – Such as Note Pad • TO DO: • Start Button • Accessories • Note Pad

  11. Viewing your web page? • You need to check what your web page looks like after you apply the tags You do this Through a Web Browser • TO DO • Navigate to your saved file in your folder, • Rt click on the file • Select Open With

  12. Lets See What we can do! Open Notepad and type the following: • StarbuzzCoffee Beverages • House Blend, $1.49 • A smooth, mild blend of coffees from Mexico, Bolivia and Guatemala • Mocha Café Latte, $2.35 • Espresso, steamed mild and chocolate syrup • Cappuccino, $1.89 • A mixture of espresso, steamed milk and foam. • Chai Tea, $1.85 • A spicy drink made with black tea, spices, milk and honey

  13. Saving your work….. • File Save AS…. • First create a “starbuzz” folder for all your Starbuzz related files • Click on the newly created “starbuz” folder • Now your are going to save your document IMPORTANT!!!! • Save as index.html • In the “Save as Type” select All Files • ALWAYS SAVE THE FIRST PAGE OF YOUR WEB SITE AS INDEX.HTML

  14. Taking your page for a Test drive… • Open your file in the Browser Window TO DO: • Navigate to the Starbuzz folder • Click on the file with the IE symbol • Success!!! • Although the results are a little…uh..unsatisfying. • That is because all you’ve done so far is go through the mechanics of creating a page and typing only content of the web page • WHAT DO WE HAVE TO DO?

  15. Markup your text……… • You Mark up your text with TAGS! TAGS • Give your page structure • Enhance your text

  16. ADD YOU <html> TAGS <head> <title>Strbuzz Coffee</title> </head> <body> <h1>Starbuzz Coffee Beverage</h1> <h2>House Blend, $1.49$</h2> <p>a smooth, mold blend of coffees from Mexico, Bolivia and Guatemala.</p>

  17. Continued… <h2>Mocha Café Latte, $2.35</h2> <p>Espresso, steamed mild and chocolate syrup.</p> <h2>Cappuccino, $1.89</h2> <p>A mixture of espresso, steamed mild and foam.</p>

  18. And still continued…. <h2> Chi Tea, $1.85</h2> <p>A spicy drink made with black tea, spices, mild and honey.</p> </body> </html>

  19. What does Starbuzz look like Now? ?

More Related