Web Page Creation Part I ST: Introduction to Web Interface Design Prof. Angela Guercio.

Slides:



Advertisements
Similar presentations
Introduction to Web Design Lecture number:. Todays Aim: Introduction to Web-designing and how its done. Modelling websites in HTML.
Advertisements

HTML I. HTML Hypertext mark-up language. Uses tags to identify elements of a page so that a browser such as Internet explorer can render the page on a.
Computers: Tools for an Information Age Writing Your Own Web Page: Using HTML and Web Authoring Tools.
Internet Services and Web Authoring (CSET 226) Lecture # 5 HyperText Markup Language (HTML) 1.
HTML. The World Wide Web Protocols Addresses HTML.
WeB application development
Teppo Räisänen LIIKE/OAMK 2010
INTRODUCTION TO HYPERTEXT MARKUP LANGUAGE 1. Outline  Introduction  Markup Languages  Editing HTML  Common Tags  Headers  Text Styling  Linking.
Web Page Creation Part I ST: Introduction to Web Interface Design Prof. Angela Guercio Spring 2007.
HTML Computing Concepts HTML - An Introduction 1.
CIS101 Introduction to Computing
Web Page Development Identify elements of a Web Page Start Notepad
Creating a Web Page HyperText Markup Language. HTML Documents  Created using any text editor  Notepad  Vi, Pico, or Emacs  If using word-processor,
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.
COMPUTERS AND INFORMATION SYSTEMS HTML. How the Web Works To access a web site  Enter its address (URL) in the address box of your browser 
With Alex Conger – President of Webmajik.com FrontPage 2002 Level I (Intro & Training) FrontPage 2002 Level I (Intro & Training)
Basic HTML The Magic Of Web Pages. Create an HTML folder  Make a folder in your H drive and name it “HTML”. We will save EVERYTHING for this unit here.
HTML HTML stands for "Hyper Text Mark-up Language“. Technically, HTML is not a programming language, but rather a markup language. Used to create web pages.
4 HTML Basics 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.
CP2022 Multimedia Internet Communication1 HTML and Hypertext The workings of the web Lecture 7.
1 CSC 121 Computers and Scientific Thinking David Reed Creighton University HTML and Web Pages.
Basic HTML Workshop By: Preeda Chunjongkolkul (Pete) Systems Librarian/Webmaster
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.
Chapter 4 (through page 110) Fluency with Information Technology 4 th edition by Lawrence Snyder (slides by Deborah Woodall : 1.
Html Basic Codes Week Two. Start Your Text Editor Windows use 'Notepad’ Macintosh use 'Simple Text'
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.
Course Content - Chapter 2 Introduction to HTML Introduction to a Text Editor as a web authoring tool Instructional Activity: Creating a webpage using.
Introduction to HTML. What is HTML? Hyper Text Markup Language (HTML) is a language for describing web pages. HTML is not a programming language, it is.
XP New Perspectives on The Internet, Sixth Edition— Comprehensive Tutorial 8 1 Creating Effective Web Pages Creating HTML Documents Tutorial 8.
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.
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.
HTML Hyper Text Markup Language. What is an HTML File?  HTML stands for Hyper Text Markup Language  An HTML file is a text file containing small markup.
Introduction to HTML. Slide 1 Hard-Coding What is hard-coding? –Creating the page in a text editor just using HTML A Web designer should know how to hard-
IS1811 Multimedia Development for Internet Applications Lecture 4: Introduction to HTML Rob Gleasure
Introduction to HTML Wah Yan College (Hong Kong) Mr. Li C.P.
HTML: Hyptertext Markup Language Doman’s Sections.
CPSC 203 Introduction to Computers Lab 33 By Jie Gao.
4 Chapter Four Introduction to HTML. 4 Chapter Objectives Learn basic HTML commands Discover how to display graphic image objects in Web pages Create.
Ali Alshowaish. What is HTML? HTML stands for Hyper Text Markup Language Specifically created to make World Wide Web pages Web authoring software language.
Introduction to HTML Xiangming Mu 9/23/ Learning Objectives Understand basic HTML tags and their attributes Learn to create a simple HTML page.
Chapter 2 Web Page Design Mr. Gironda. Elements of a Web Page These are things that most web pages use.
HTML Basics. HTML Introduction Stands for HyperText Markup Language. HTML files are plain text files with mark ups. Some characteristics of HTML: –No.
Introducing the World Wide Web Internet- a structure made up of millions of interconnected computers whose users communicate with each other and share.
HTML Basics Computers. What is an HTML file? *HTML is a format that tells a computer how to display a web page. The documents themselves are plain text.
4 HTML Basics 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.
HTML Basics. HTML Coding HTML Hypertext markup language The code used to create web pages.
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.
Creating and Editing a Web Page
1 2/21/05CS120 The Information Era Chapter 4 Basic Web Page Construction TOPICS: Lists, Fonts, Links, and Preformatted Text.
What is HTML? HTML is a language for describing web pages. HTML stands for Hyper Text Markup Language HTML is not a programming language, it is a markup.
Writing Your Own Web Page: Using HTML and FrontPage Chapter 10.
Hypertext Markup Language.  Developed by Tim Berners-Lee in 1990  Stands for HyperText Markup Languange  A format that tells a computer how to display.
1 2/16/05CS120 The Information Era Chapter 4 Basic Web Page Construction TOPICS: Intro to HTML and Basic Web Page Design.
Department of Computer Science, Florida State University CGS 3066: Web Programming and Design Spring
Creating and Editing a Web Page Using Inline Styles
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.
Introduction lab1. Suzanne J. Sultan 2 What is HTML? The definition of HTML is Hyper Text Markup Language. HTML is a computer language devised to allow.
HTML. INDEX Introduction to HTML Creating Web Pages Commands And Tags Web Page.
1 Foundation of HTML Web Page Design. 2 Safe Web Fonts: Used by most computers regardless of environment or platform  Times New Roman  Arial  Courier.
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.
HTML And the Internet. HTML and the Internet ► HTML: HyperText Markup Language  Language in which all pages on the web are written  Not Really a Programming.
NOTEPAD++ Lab 1 1 Riham ALSmari. Why Notepad++ ?  Syntax highlighting  Tabbed document interface  Zooming  Indentation code  Find and replace over.
Online PD Basic HTML The Magic Of Web Pages
Introduction to HTML.
Section 4.1 Section 4.2 Format HTML tags Identify HTML guidelines
Computers and Information Systems
Computers and Scientific Thinking David Reed, Creighton University
Presentation transcript:

Web Page Creation Part I ST: Introduction to Web Interface Design Prof. Angela Guercio

Objective In this lecture, you will learn: What HTML is and what XHTML is What HTML is and what XHTML is How to create an (X)HTML file How to create an (X)HTML file The (X)HTML syntax The (X)HTML syntax more syntax in next lecture more syntax in next lecture You will experiment (X)HTML and apply the concepts hands on. You will experiment (X)HTML and apply the concepts hands on.

Let’s answer a few questions… What is HTML? What is HTML? Hyper Text MarkUp Language Hyper Text MarkUp Language A language to describe the formatting and the layout of content of your web page. A language to describe the formatting and the layout of content of your web page. What is XHTML? What is XHTML? XHTML (Extensible Hypertext Markup Language) XHTML (Extensible Hypertext Markup Language) An extension of HTML An extension of HTML Standards available at World Wide Web Consortium (W3C) Standards available at World Wide Web Consortium (W3C)

Time for your first hands on! Goal: Observe a simple text file. Activity: Create a.txt file, save it with the.htm or.html extension and open it with a web browser. 1. Open Notepad (Start  Program  Accessory…) 2. Now close the dialog box, go to File, Edit with Notepad and continue editing 3. In the file write your name and postal address in the same way you would do on an envelope. 4. In File Name save as “Myaddress.html” in any folder you like 5. Go to the folder where you saved your file and double click on the icon of your file. It will be open with your default browser. What do you see? 6. Go back to your file and change the address with the school address. Save (CTRL S) 7. Do you see any change in the page? Reload the page. Do you see the changes now?

Web Page Creation Create a document by using a mark-up language Create a document by using a mark-up language HTML or XHTML HTML or XHTML Web Browsers show ASCII text files, i.e. Web Browsers show ASCII text files, i.e. *.txt = text file *.txt = text file *.html or *.htm = HTML files *.html or *.htm = HTML files Software is available to facilitate the Web page creation. Software is available to facilitate the Web page creation.

Web Browser Web browser display Web pages Web browser display Web pages make any effort to display on the best way make any effort to display on the best way for laptop with smaller screen text is rearranged for laptop with smaller screen text is rearranged formatting from text files is not preserved (e.g. break lines are gone!). formatting from text files is not preserved (e.g. break lines are gone!). Web browsers dynamically rework the files to fill the display window as best as it can Web browsers dynamically rework the files to fill the display window as best as it can Web browsers rework each page for each visitor Web browsers rework each page for each visitor

What do I need to start? Do I need to be online while creating my page? Do I need to be online while creating my page? No, you can be offline No, you can be offline You need to be online only when you publish the page You need to be online only when you publish the page Which Software do I need? Which Software do I need? A text editor A text editor NotePad or NotePad or A Friendly Web Editor is available in old browsers like Netscape and SeaMonkey or A Friendly Web Editor is available in old browsers like Netscape and SeaMonkey or Dreamweaver or Dreamweaver or Any other web editor, i.e. Any other web editor, i.e. FrontPage (not supported anymore) FrontPage (not supported anymore) SeaMonkey, (the successor of Netscape) SeaMonkey, (the successor of Netscape) etc. etc.

Web Page: Basic Since Web browsers read text files we can get a text file and display it the Web browser. Since Web browsers read text files we can get a text file and display it the Web browser. A Web server is not needed during page design A Web server is not needed during page design you can be offline you can be offline It is needed only at publication time It is needed only at publication time

HTML HTML HTML HyperText Markup Language is a language that gives the author control over the web browser HyperText Markup Language is a language that gives the author control over the web browser set of HTML elements or tags set of HTML elements or tags insert a HTML element to add to a content or a style to a Web page insert a HTML element to add to a content or a style to a Web page Instructions are issued through a series of TAGS - which are shown in Instructions are issued through a series of TAGS - which are shown in Basic HTML Elements Basic HTML Elements HTML, HEAD, TITLE, BODY HTML, HEAD, TITLE, BODY

Editing HTML files Use Notepad (Windows) or SimpleText (Mac) for now. Use Notepad (Windows) or SimpleText (Mac) for now. do not use Word do not use Word Word file saved as HTML invoke a HTML Converter which is not what you want when you are writing HTML files! Word file saved as HTML invoke a HTML Converter which is not what you want when you are writing HTML files! or save it “Text Only with Line Breaks” or save it “Text Only with Line Breaks” If you prefer a more friendly web editor, use Dreamweaver, Frontpage, Netscape Composer, SeaMonkey Composer, ect. If you prefer a more friendly web editor, use Dreamweaver, Frontpage, Netscape Composer, SeaMonkey Composer, ect.

TAGS …….. …….. They can be nested inside other tag pairs They can be nested inside other tag pairs contains everything the browser need to know about the Web Page contains everything the browser need to know about the Web Page …… …… contains information not shown in the browser’s Web page display contains information not shown in the browser’s Web page display …… …… contains the title element that appears in the browser window’s title bar contains the title element that appears in the browser window’s title bar …… …… Contains the text and the graphics to display Contains the text and the graphics to display

General TAG format: General TAG format: … … The tag begins formatting. The closing tag ends formatting. Observe: Closing tags are preceded by the / symbol Content to be formatted. TAGS Syntax

Tags details Tags are NOT case sensitive: and are the same Tags are NOT case sensitive: and are the same MOST tags start with the command and end with a slash(/) MOST tags start with the command and end with a slash(/) ie. ……. ie. ……. However there are a few tags that do not require to be terminated However there are a few tags that do not require to be terminated Break – new line Break – new line Horizontal Row – next line/page Horizontal Row – next line/page Spacing the content inside a TAG is important, spacing outside of the TAG’s is NOT important Spacing the content inside a TAG is important, spacing outside of the TAG’s is NOT important

Time for more Practice TO DO: 1. Create a file with Notepad 2. Insert the tags in the following way <HTML><HEAD><TITLE> My First Web Page </TITLE></HEAD><BODY> This is only a test! </BODY></HTML> 1. Save the file as FirstPage.html 2. Open the page with a Web browser 1. Where does the text in the Title appear? 2. Where does the text in the Body appear?

Web Page Development Cycle 1. Save your file with the Save command 2. Reload the new file 3. Review the new Web page with you Web browser 4. Revise you page as needed Repeat 1-4

Old free web editors - Instructions for Netscape and SeaMonkey 1. Open Netscape 7.2 (or SeaMonkey) 2. Click on File  New  Composer Page. 3. Click on Source Code (on the bottom of the page) 4. Paste the content of the previous HTML file 5. Save it 6. Click on Browse to Preview your file

Web Page Development Cycle 1. Modify the file 2. Save it 3. Reload the page in your web browser, ex. Click on Browse to reload the file with Seamonkey Click on Browse to reload the file with Seamonkey Click on Live View to see the live page in Dreamweaver Click on Live View to see the live page in Dreamweaver 4. If you desire to change something go back to the file and restart step 1. Keep performing this cycle until your page is ready to be made public.

Formatting Tags: Heading Heading element (do not confuse with HEAD!) are used for a title inside the body of the Web page Heading element (do not confuse with HEAD!) are used for a title inside the body of the Web page 6-sizes 6-sizes very large very large very small very small

Formatting: Heading (cont.) The alternative to heading is the tag and The alternative to heading is the tag and More convenient More convenient You can add more than one or in line. You can add more than one or in line. You will be limited by the display ability of the browser. You will be limited by the display ability of the browser.

Attributes Attributes can be added to elements Attributes can be added to elements Attributes go INSIDE the angle brackets! Attributes go INSIDE the angle brackets! A few examples of attributes A few examples of attributes align is used to justify align is used to justify align bgcolor used to indicate the background color bgcolor used to indicate the background color bgcolor border used in tables border used in tables border ect. ect.

Formatting Tags: Align Align is used to justify Align is used to justify Left, right, center Left, right, centerExample: very large very large very small very small

Styles Tags:.... General for Bold text General for Bold text.... General for Italic text General for Italic text … … General for underlined text General for underlined text

More tags: Paragraph … … breaks the text into blocks of text set off by blank lines breaks the text into blocks of text set off by blank lines no indentation no indentationRemember: Title and paragraphs add clarity to the Web page and make it easier to read. Title and paragraphs add clarity to the Web page and make it easier to read.

Tags: Lists Bulleted lists Bulleted lists.. unordered list.. unordered list Enumerated list Enumerated list.. ordered list.. ordered list Each item in the list is marked with tags.. Each item in the list is marked with tags..,, and are optional but use it anyway,, and are optional but use it anyway Ordered lists of books book 1 book 2 1. book 1 2. book 2 Unordered lists of books book 1 book 2 book 1 book 2

Fonts Different computers have different fonts. Different computers have different fonts. What font will the Web browser will choose if your font is not available? What font will the Web browser will choose if your font is not available? Tag: Tag: Attribute FACE Attribute FACE Sans serif fonts: Arial, Geneva, Helvetica Sans serif fonts: Arial, Geneva, Helvetica Serif fonts: Times New Romans, Times Serif fonts: Times New Romans, Times Monospaced fonts: Courier New, Courier Monospaced fonts: Courier New, Courier Pick a selection: The browser will choose the first available. The browser will choose the first available.

Fonts Tag: … Tag: … Attribute FACE Attribute FACE Sans serif fonts: Arial, Geneva, Helvetica Sans serif fonts: Arial, Geneva, Helvetica Serif fonts: Times New Romans, Times Serif fonts: Times New Romans, Times Monospaced fonts: Courier New, Courier Monospaced fonts: Courier New, Courier Pick a selection: Pick a selection:Example The browser will choose the first available. The browser will choose the first available.

Fonts Attributes COLOR=“the color” COLOR=“the color” for Color setting for Color setting SIZE=+2 SIZE=+2 for the change of the current size for the change of the current sizeExample Hello! will display Hello! will display Hello! Hello! Size chart Size 1 = 8pts Size 2 = 10pts Size 3 = 12pts Size 4 = 14pts Size 5 = 18pts Size 6 = 24pts Size 7 = 36pts

Blanks, Comments, etc. Insert blanks lines or extra white space characters in the code Insert blanks lines or extra white space characters in the code Do you see the line or the space on the webpage? Do you see the line or the space on the webpage? &nbsp &nbsp inserts a white space inserts a white space for comments for comments inserts line breaks inserts line breaks draws an horizontal line draws an horizontal line

More next time… More next time…