1 / 8

A guide to HTML

A guide to HTML. HTML: Hypertext Markup Language Pull down View, then Source, to see the HTML code. Slide 1. Basic page. <body> </body>. Search engines. <html> </html>. Basic page. <html> <body> <h1> Search engines </h1> </body> </html>.

Download Presentation

A guide to HTML

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. A guide to HTML

  2. HTML: Hypertext Markup LanguagePull down View, then Source, to see the HTML code. Slide 1

  3. Basic page <body> </body> Search engines <html> </html>

  4. Basic page <html> <body> <h1>Search engines</h1> </body> </html> The <h1> tag sets text as a heading in style 1. Valid tags are <h1>; <h2>; <h3>; <h4>; <h5>; <h6>. What effect does changing the number have?

  5. Basic page <html> <body> <h1>Search engines</h1> Yahoo<br> Excite<br> Google<br> </body> </html> <br> creates a line break <p> and </p> can be used to begin and end a paragraph

  6. Adding hyperlinks <html> <body> <h1>Search engines</h1> <a href="http://www.yahoo.com">Yahoo</a><br> <a href="http://www.excite.co.uk">Excite</a><br> <a href="http://www.google.fr">Google</a><br> </body> </html> The URL of a hyperlink must be enclosed in quotation marks

  7. Adding the title The title is not the same as the page heading <html> <head> <title>Information on search engines</title> </head> <body> <h1>Search engine</h1> <a href="http://www.yahoo.com">Yahoo</a><br> <a href="http://www.excite.co.uk">Excite</a><br> <a href="http://www.google.fr">Google</a><br> </body> </html>

  8. Creating the HTML file • The text file can be created in a simple text editor such as Notepad. • The file name must have .htm at the end to indicate a web page. • The file contains instructions to the web browser which describe how the page should look.

More Related