HTML Companion. Lecture Objectives Learn about HTML. Know basic HTML tags.

Slides:



Advertisements
Similar presentations
Computers: Tools for an Information Age Writing Your Own Web Page: Using HTML and Web Authoring Tools.
Advertisements

WEB DESIGN TABLES, PAGE LAYOUT AND FORMS. Page Layout Page Layout is an important part of web design Why do you think your page layout is important?
HTML. The World Wide Web Protocols Addresses HTML.
WeB application development
INTRODUCTION TO HYPERTEXT MARKUP LANGUAGE 1. Outline  Introduction  Markup Languages  Editing HTML  Common Tags  Headers  Text Styling  Linking.
Chapter 4 Marking Up With Html: A Hypertext Markup Language Primer.
Web development  World Wide Web (web) is the Internet system for hypertext linking.  A hypertext document (web page) is an online document. It contains.
CIS101 Introduction to Computing Week 05. Agenda Your questions Exam next week - Excel Introduction to the Internet & HTML Online HTML Resources Using.
CIS101 Introduction to Computing
1 CA201 Word Application Creating Document for the Web Week # 9 By Tariq Ibn Aziz Dammam Community college.
1 Computing for Todays Lecture 22 Yumei Huo Fall 2006.
Introduction to HTML 2006 CIS101. What is the Internet? Global network of computers that are connected and communicate via a series of Protocols Protocols.
Marking Up With Html: A Hypertext Markup Language Primer
HTML Introduction HTML
Chapter 20 Applets Slides prepared by Rose Williams, Binghamton University Copyright © 2008 Pearson Addison-Wesley. All rights reserved.
Applets, HTML and GUI’s Recitation – 04/11/2008 CS 180 Department of Computer Science, Purdue University.
FIRST COURSE Creating Web Pages with Microsoft Office 2007.
Glencoe Digital Communication Tools Create a Web Page with HTML Chapter Contents Lesson 4.1Lesson 4.1 Get Started with HTML (85) Lesson 4.2Lesson 4.2 Format.
Chapter 14 Introduction to HTML
 Definition of HTML Definition of HTML  Tags in HTML Tags in HTML  Creation of HTML document Creation of HTML document  Structure of HTML Structure.
HTML 1 Introduction to HTML. 2 Objectives Describe the Internet and its associated key terms Describe the World Wide Web and its associated key terms.
HTML HyperText Markup Language Constantly evolving - extra facilities being added regularly Java applets and JavaScript used to increase functionality.
Introduction to Computers Section 8A. home How the Internet Works Anyone with access to the Internet can exchange text, data files, and programs with.
Understanding HTML Code
Applets Chapter 17.  Java’s big splash onto the scene came in the mid 90’s. The people at Sun Microsystems had managed to work java programs into Web.
CP2022 Multimedia Internet Communication1 HTML and Hypertext The workings of the web Lecture 7.
McGraw-Hill/Irwin Copyright © 2013 by The McGraw-Hill Companies, Inc. All rights reserved. Extended Learning Module F Building a Web Page with HTML.
1 CSC 121 Computers and Scientific Thinking David Reed Creighton University HTML and Web Pages.
Section 4.1 Format HTML tags Identify HTML guidelines Section 4.2 Organize Web site files and folder Use a text editor Use HTML tags and attributes Create.
Introduction to HTML. What is a HTML File?  HTML stands for Hyper Text Markup Language  An HTML file is a text file containing small markup tags  The.
 2008 Pearson Education, Inc. All rights reserved Introduction to XHTML.
Copyright 2006 South-Western/Thomson Learning Chapter 17 Creating and Linking Web Pages.
What is Markup and Markup Languages? What is HTML? A Basic HTML Document Basic HTML Tags Tag Attributes and Text Formatting Tags Insert Hyperlinks Add.
XP 1 HTML Committed to Shaping the Next Generation of IT Experts. 01: Introduction to HTML.
Web Programming Basics of HTML. HTML stands for Hyper Text Mark-up Language A mark-up language is different than those that you have learned before in.
Just Enough HTML How to Create Basic HTML Documents.
Lesson 2: Basic HTML Code Basic HTML Code. HTML is an acronym for Hypertext Markup Language. Internet browsers translate the HTML code into texts and.
1 Week 1 l HTML l Applets Applets and HTML. 2 Overview l Applets: Java programs designed to run from a document on the Internet l HTML: Hypertext Markup.
Chapter 13. Applets and HTML HTML Applets Computer Programming with JAVA.
INTRODUCTORY Tutorial 1 Using HTML Tags to Create Web Pages.
Chapter 13Java: an Introduction to Computer Science & Programming - Walter Savitch 1 Chapter 13 l HTML l Applets Applets and HTML.
4 Chapter Four Introduction to HTML. 4 Chapter Objectives Learn basic HTML commands Discover how to display graphic image objects in Web pages Create.
LBSC 690 Session 5A Programming. Languages How do we learn a language? Learn by listening Then reading Then writing How do we teach programming? Learn.
HTML BTEC National in Computing Section5. Create Information “HTML: defining HTML, discussing HTML uses and demonstrating HTML basics, HTML structure…..
CS 111 – Oct. 4 Web design –HTML –Javascript Commitment: –This week, read sections 4.3 – 4.5.
Chapter 29 World Wide Web & Browsing World Wide Web (WWW) is a distributed hypermedia (hypertext & graphics) on-line repository of information that users.
1 WWW. 2 World Wide Web Major application protocol used on the Internet Simple interface Two concepts –Point –Click.
Website design and structure. A Website is a collection of webpages that are linked together. Webpages contain text, graphics, sound and video clips.
Chapter 131 Applets and HTML Chapter Objectives learn how to write applets learn to write a simple HTML document learn how to embed an applet in.
HTML Basics. HTML Coding HTML Hypertext markup language The code used to create web pages.
HTML – The Basics COE 201- Computer Proficiency. The Internet The World Wide Web ▫Also known as the Web ▫Created in 1989  European Laboratory for Particle.
HTML Concepts and Techniques Fifth Edition Chapter 1 Introduction to HTML.
HTML Assoc. Prof. Rozinah Jamaludin 28 January 2010.
Copyright © 2013 Pearson Education, Inc. Publishing as Pearson Addison-Wesley What did we learn so far? 1.Computer hardware and software 2.Computer experience.
LBSC 690 Session 4 Programming. Languages How do we learn a language? Learn by listening Then reading Then writing How do we teach programming? Learn.
Writing Your Own Web Page: Using HTML and FrontPage Chapter 10.
Introduction to HTML Simple facts yet crucial to beginning of study in fundamentals of web page design!
HTML-I Basic HTML Elements. HTML (Hyper Text Markup Language) HTML is a document layout and hyperlink- specification language. i.e. a language used to.
HTML. INDEX Introduction to HTML Creating Web Pages Commands And Tags Web Page.
1 Introduction to HTML. 2 Definitions  W W W – World Wide Web.  HTML – HyperText Markup Language – The Language of Web Pages on the World Wide Web.
Tutorial 1 Getting Started with Adobe Dreamweaver CS5.
XP Creating Web Pages with Microsoft Office
Creating Web pages using HTML: Here, you will learn how to set up facilities on the internet by creating Web pages and mounting them on the World Wide.
Introduction to HTML.
Section 4.1 Section 4.2 Format HTML tags Identify HTML guidelines
Chapter 1 Introduction to HTML.
Chapter 27 WWW and HTTP.
Introduction to HTML Simple facts yet crucial to beginning of study in fundamentals of web page design!
Presentation transcript:

HTML Companion

Lecture Objectives Learn about HTML. Know basic HTML tags.

A Brief Introduction to HTML HTML stands for Hypertext Markup Language  Hypertext is text viewed on a browser that contains clickable entries called links or hyperlinks.  When a link or hyperlink is clicked, the document specified by the link is displayed. HTML is a language used to write HTML documents or pages that will be viewed on a Web browser.

HTML is made up of a collection of simple commands that can be inserted into a text file.  This converts the text file into a document meant to be viewed with a Web browser.  Some commands allow pictures and hyperlinks to be inserted. Others are editing commands that specify the main heading, subheading, paragraph beginning, and so forth. A Brief Introduction to HTML (Cont’d)

Much of HTML is simply a language for formatting text.  However, HTML is not a word processor.  It is more like a very simple programming language.  It is similar to the annotations used by copy editors to mark a manuscript before it is typeset for production. HTML is not part of the Java language.  There can be interaction between HTML and Java.  HTML can be used to display a Java applet program. A Brief Introduction to HTML (Cont’d)

HTML Formatting Commands There are two basic kinds of HTML commands :  Those that mark the beginning and end of a section of text.  Those that mark a single location in the text. Commands that mark the beginning and end of a section of text have the form: Some text

The following makes the phrase "World's Greatest Home Page" a level 1 heading.  Level 1 is the largest standard heading: World's Greatest Home Page Smaller headings, Level 2 and level 3, are generated by the commands h2 and h3, and so forth. HTML Formatting Commands (Cont’d)

Commands that mark a single location in the text are not closed with the command of form  For example, the horizontal line command: Commands in HTML are relative commands, instead of being absolute commands that determine exact size or locations.  The browser determines the exact sizes and locations. HTML Formatting Commands (Cont’d)

© 2004 Pearson Addison-Wesley. All rights reserved 18-9 The browser normally determines the location of line breaks in the displayed text  However, a line break can be forced by inserting a break command: Some layout specifications can be made as well  Anything between the commands and will be centered on the page HTML Formatting Commands (Cont’d)

Matching pairs of commands may be nested inside one another, but they may not cross each other: Unlike Java, HTML commands are not case sensitive An HTML file is a text file whose name should end with.html OK! Oops! HTML Formatting Commands (Cont’d)

Outline of an HTML Document The entire HTML document should be enclosed in the pair and at the beginning and end of the document The head of the document is enclosed in and  The head is not displayed when the page is viewed  It records information that is used by a browser The head can contain a title, enclosed in and  The title is used as a name for the document

The part of the document that is displayed on the screen is divided into two parts The body is the real content of the document  It is enclosed in and The other part should contain the address for contacting the document's maintainer, and the date that the document was last modified  It is enclosed in and Outline of an HTML Document (Cont’d)

An HTML Document

An HTML Document (Cont’d) Browser view of the HTML document

Uniform Resource Locator (URL) A URL is the name of an HTML document on the Web URLs often begin with http  This is the name of the protocol used to transfer and interpret the HTML document.  Most browsers will fill in if it is omitted.

Hyperlinks Text can be marked as a hyperlink so that if a user clicks that text, the browser goes to another Web page specified by the link TextToClick  The PathToDocument can be a full or relative path name to an HTML file, or a URL to any place on the Web  The TextToClick will be displayed and underlined by the browser

Inserting a Picture A picture can also be inserted in an HTML document:  The PathToPicture can be a full or relative path name to a file with a digitally encoded picture.  Most commonly used picture-encoding formats are accepted, such as.gif,.tiff, and.jpg

An HTML Document with a Hyperlink and a Picture

An HTML Document with a Hyperlink and a Picture (2) Browser view of the HTML document

Pitfall: Not Using Your Browser's Refresh Command Browsers normally keep copies of the most recently viewed HTML pages.  This helps the browser retrieve a page quickly when someone returns to that page. This feature can be a problem when designing and debugging an HTML page.  If a change is made to a page, and that page is viewed again, it may still look the same.  This is because the copy is being viewed, not the new page. Browsers have a command to reload a page, and thus get the most recent version of it  It is usually called "Refresh" or "Reload", and is a button or menu item

Tip: Other Languages for Authoring Web Pages HTML is a low-level language for a Web browser much the same as assembly language is a low- level language for a computer. Most Web page designers today use a high- level Web page design language that translates into HTML.  For example Dreamweaver (Macromedia, Inc.), FrontPage (Microsoft Corporation), and GoLive (Adobe Systems Inc.)