Presentation is loading. Please wait.

Presentation is loading. Please wait.

HTML HTML: Hypertext Markup Language. The basic language of the World Wide Web. Developed around 1991 at the CERN lab on the French-Swiss border by Tim.

Similar presentations


Presentation on theme: "HTML HTML: Hypertext Markup Language. The basic language of the World Wide Web. Developed around 1991 at the CERN lab on the French-Swiss border by Tim."— Presentation transcript:

1 HTML HTML: Hypertext Markup Language. The basic language of the World Wide Web. Developed around 1991 at the CERN lab on the French-Swiss border by Tim Berners-Lee. Developed in conjunction with the first web browser program. HTML and browsers work together; one of the main jobs of a web browser (Internet Explorer, Firefox, Safari, etc.) is to interpret HTML and display it properly.

2 HTML is Text HTML is created as simple text files, easily portable between different computers and operating systems, and transferrable by standard Internet protocols (TCP-IP). All HTML formatting is done using tags. The tags are delimited using the less-than ( ) signs. Everything between these delimiters is interpreted as formatting instructions by the browser. Everything else is interpreted as text.

3 Hypertext One of the main goals of HTML was to facilitate hypertext; that is, documents that include links to other parts of the document, to other documents, or even to documents located anywhere else in the world. Hypertext is implemented in HTML using the anchor tag. The anchor tag looks like this: The University of Michigan The first part (first pair of ) indicates the address to link to. The part between the pair of tags (“The University of Michigan”) indicates the text that will be displayed (and usually underlined in blue, depending on browser settings) The final tag (“ ”) indicates the end of the hyperlink.

4 More HTML Details Tags are not case sensitive ( is the same as ). In HTML, multiple spaces count as a single space: “IOE 373” will display as “IOE 373” in the browser. Carriage return/linefeeds (the enter key) also count as a single space. Putting new lines into your HTML will not cause new lines when displayed in the browser—you must use (break) or (new paragraph). HTML files should be saved with either an “.htm” or “.html” extension so that Windows will know to open them in a browser, and so the browser will know how to open them.

5 Common HTML Tags You will be expected to use the following tags in assignment 7, and to know them for the midterm: – Hyperlink Text Hyperlink. The string in quotes after href is the url of the page you are linking to. "Hyperlink Text" is the text that will be underlined and in blue (usually) and is what is clicked to cause the browser to jump to the linked page. – Identifies header information for the page. Header info does not appear in the web page itself. – The title of a web page appears at the top of the browser and in favorites and history lists. The title goes in the header section. – Identifies the portion of the document that will actually appear in the browser window.

6 More HTML Tags to know H1 through H6 indicate heading sizes/styles. H1 is for a main heading, while H2 through H6 are for progressively smaller subheadings. Unordered list. Can contain as many items ( ) as you want. Items appear as bullets. Ordered list. Similar to UL, except items are numbered. Creates bold text (can also use ). Emphasis. Creates italicized text (can also use ). Line break. New paragraph.

7 HTML Example Guanajuato Guanajuato Guanajuato is a beautiful colonial city about 250 miles northwest of Mexico City. Guanajuato is famous for: Being the birthplace of the Mexican revolution Silver mining The University of Guanajuato Numerous language schools Learn more about Guanajuato here. Browser Displays : HTML Code:


Download ppt "HTML HTML: Hypertext Markup Language. The basic language of the World Wide Web. Developed around 1991 at the CERN lab on the French-Swiss border by Tim."

Similar presentations


Ads by Google