BSS 301 Part 2. Personal Pages Companies, Organizations – (schools, universities, research centers, etc) News Networks Journals Events (conferences, international.

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?
HyperText Markup Language (HTML). Introduction to HTML Hyper Text Markup Language HTML Example The structure of an HTML document Agenda.
CREATED BY : VIRAL M.KORADIYA. Anchor elements are defined by the element. The element accepts several attributes, but either the Name or HREF attribute.
HTML. The World Wide Web Protocols Addresses HTML.
HTML: HyperText Markup Language Hello World Welcome to the world!
Presenter: James Huang Date: Sept. 26,  Introduction  Basics  Lists  Links  Forms  CSS 2.
HTML Hypertext Markup Language –First proposed by CERN in 1989 –It is non-linear so it allows you to jump from place to place –Markup refers to the structure.
LIST- HYPERLINK- IMAGES
3-1 Copyright. All rights reserved. Not to be reproduced by any means without prior permission Introduction to Web & HTML Sadiq M. Sait, Ph.D
World Wide Web1 Applications World Wide Web. 2 Introduction What is hypertext model? Use of hypertext in World Wide Web (WWW) – HTML. WWW client-server.
Introduction to HTML 2006 INT197B. What is the Internet? Global network of computers that are connected and communicate via a series of Protocols Protocols.
Introduction to HTML 2004 CIS101. What is the Internet? Global network of computers that are connected and communicate via a series of Protocols Protocols.
Internet & Multimedia Sadiq M. Sait, Ph.D Department of Computer Engineering King Fahd University of Petroleum and Minerals Dhahran,
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.
HTML Tags. Objectives Know the commonly used HTML tags Create a simple webpage using the HTML tags that will be discussed.
CpSc 462/662: Database Management Systems (DBMS) (TEXNH Approach) HTML Basics James Wang.
CS105 Introduction to Computer Concepts HTML
Chapter 2: The Client Side: HTML CIS 275—Web Application Development for Business I.
_______________________________________________________________________________________________________________ E-Commerce: Fundamentals and Applications1.
XHTML Introductory1 Forms Chapter 7. XHTML Introductory2 Objectives In this chapter, you will: Study elements Learn about input fields Use the element.
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.
HTML HyperText Markup Language Constantly evolving - extra facilities being added regularly Java applets and JavaScript used to increase functionality.
1 HTML References: A HTML Tutorial: /HTMLPrimer.html
Understanding HTML Code
 2008 Pearson Education, Inc. All rights reserved Introduction to XHTML Pt. 2.
HTML history, Tags, Element. HTML: HyperText Markup Language Hello World Welcome to the world!
McGraw-Hill/Irwin Copyright © 2013 by The McGraw-Hill Companies, Inc. All rights reserved. Extended Learning Module F Building a Web Page with HTML.
Basic HTML Workshop By: Preeda Chunjongkolkul (Pete) Systems Librarian/Webmaster
1 HTML محمد احمدی نیا 2 Of 43 What is HTML?  HTML stands for Hyper Text Markup Language  HTML is not a programming language, it.
HTML 4 Foundation Level Course HyperText Markup Language Most common language used in creating Web documents. You can use HTML to create cross-platform.
 2008 Pearson Education, Inc. All rights reserved Introduction to XHTML.
Creating Web Pages with Links, Images, and Formatted Text
1 HTML – HyperText Markup Language Representation and Management of Data on the Internet.
HTML,DHTML & Javascript/Session1/1 of 39 Introduction and Basic Tags Session 1 of Using HTML, DHTML & JavaScript.
Chapter 8 Introduction to HTML and Applets Fundamentals of Java.
CS105 INTRODUCTION TO COMPUTER CONCEPTS HTML Instructor: Cuong (Charlie) Pham.
 2008 Pearson Education, Inc. All rights reserved Introduction to XHTML.
1 John Magee 9 November 2012 CS120 Lecture 17: The World Wide Web and HTML Web Publishing.
Internet services & WWW Sadiq M. Sait, Ph.D Department of Computer Engineering King Fahd University of Petroleum and Minerals Dhahran,
Introduction HTML (Hypertext Markup Language) is used to create document on the World Wide Web. HTML is not a programming language, it is a markup language.
Introduction to HTML Xiangming Mu 9/23/ Learning Objectives Understand basic HTML tags and their attributes Learn to create a simple HTML page.
HTML BTEC National in Computing Section5. Create Information “HTML: defining HTML, discussing HTML uses and demonstrating HTML basics, HTML structure…..
HTML HyperText Markup Language ©Richard L. Goldman July 15, 2003.
HTML(Hyper Text Markup Language) ByNaveen. Introduction HTML or Hyper Text Markup Language is the standard markup language Its used to create the web.
HTML Hyper Text Markup Language 1BFCET BATHINDA. Definitions Web server: a system on the internet containing one or more web site Web site: a collection.
CSE 409 – Advanced Internet Technology 1 DISCUSSION OF BASIC HTML TAGS.
Introduction to HTML. _______________________________________________________________________________________________________________ 2 Outline Key issues.
HTML Basics. HTML Coding HTML Hypertext markup language The code used to create web pages.
1 Lecture 12 Lecture 12 Basic HTML ITEC 1000 “Introduction to Information Technology”
HTML CS 105. Page Structure HTML elements control the details of how a page gets displayed. Every HTML document has the following basic structure: … …
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.
Department of Computer Science, Florida State University CGS 3066: Web Programming and Design Spring
1999, COMPUTER SCIENCE, BUU Introduction to HTML Seree Chinodom
HTML. INDEX Introduction to HTML Creating Web Pages Commands And Tags Web Page.
HTML for web designing short course. What is an HTML File? HTML stands for Hyper Text Markup Language An HTML file must have an htm or html file extension.
HTML AN INTRODUCTION TO WEB PAGE PROGRAMMING. INTRODUCTION TO HTML With HTML you can create your own Web site. HTML stands for Hyper Text Markup Language.
Chapter 8 Introduction to HTML and Applets
HTML Basics.
Marking Up with XHTML Tags describe how a web page should look
HTML: HyperText Markup Language
Basic XHTML Tables XHTML tables—a frequently used feature that organizes data into rows and columns. Tables are defined with the table element. Table.
COMPUTING FUNDAMENTALS
Marking Up with XHTML Tags describe how a web page should look
Marking Up with XHTML Tags describe how a web page should look
1 Introduction to XHTML.
Marking Up with XHTML Tags describe how a web page should look
Marking Up with XHTML Tags describe how a web page should look
Marking Up with XHTML Tags describe how a web page should look
Presentation transcript:

BSS 301 Part 2

Personal Pages Companies, Organizations – (schools, universities, research centers, etc) News Networks Journals Events (conferences, international games, etc) Internet/Intranet Why Design Web pages & for Who?

HTML is a structured language – rules of nesting All WWW documents are written in HTML WWW – World Wide Web – Most popular Internet information service What is HTML?

What is Internet? – Worlds largest network – Collection of interconnected networks built on the Internet protocol TCP/IP – Growing at an amazing rate – Open system with decentralized management Estimated: 28.8 million people over 16 in the US have access, 16.4 million use the Internet and 11.5 million use the Web. What is Internet?

Client/Server Architecture Designed to make it easy for people to share information – Hides complexities of location of documents – Easy to distribute information – Fun to look at World Wide Web

Hyperlinks – Highlighted words or pictures – Item pointed to may be another document image, movie, sound clip etc World Wide Web

Example Visit NYSE city tours NY CITY TOURS NYSE sounds view sights sound audio Movie

Interpret HTTP as well as other protocols – ftp, mailto, telnet, gopher, etc. Display physical formatted HTML text – in-line images – hyperlinks WWW Browsers

Helper Applications – Programs on the user’s computer that can be used to display images, movies, sound, etc. that cannot be displayed on the browser itself Sound files Movies (MPEG) Mail Other file formats WWW browsers (contd..)

Everyone is a publisher – The architecture of the Internet allows almost anyone to become an information provider for a world wide audience WWW documents must be in HTML – To create your own home page you need to know some HTML Why learn HTML?

Not a must – Can use tools to create HTML – Conversion tools can be used to convert existing HTML documents Example: LaTeX2HTML Word documents can be saved in HTML FrameMaker documents too It is very easy to learn Why learn HTML? (contd..)

Requirements – Text or HTML Editor to enter TAGS – Graphics editors – Browser (Netscape, Internet Explorer, Lynx, etc.) Focus – Usable and Eye-catching documents – Images in Web pages – Animation Creating an HTML Page

HTML documents contain 3 things – Text +TAGS – External Multimedia such as graphics, sound, movies, etc. Example – Your Text Here – Types, used in pairs, or not in pairs – Tags can be nested HTML Basics

Mark text as – headings, paragraphs – formatting (physical, logical) – list – quotations, etc. Also for – creating hyperlinks – including images, making tables – fill-in forms, frames What are Tags?

KFUPM – display KFUPM as a level 1 heading, can go down from H1 to H6 A paragraph comes here Anchor for line breaks for horizontal line How do they look?

Basic Structure – – KFUPM – ….. ….. …… – HTML Document Structure

HTML= head + body – Body elements contain all the text and other material to be displayed Line breaks and indentation exist only for human readability Comment – for pre-formatted text HTML Document Structure

Physical Styles – bold – …. – Makes text subscripts – emphasized text – text in italics – changes font size – n=1,…,7 Character formatting Markup

... … ◦ UL specifies unordered list ◦ LI specifies list item  OL specifies ordered list  specified a definition list  … ….. ◦ provides a definition list ◦ DT begins each item title ◦ DD begins each item definition  unformatted text List Markup

Specify logical organization of document – not designed to be an editor like Word, FrameMaker etc.. Documents with sections of text marked as logical units – Titles – Paragraphs – Lists Design Goal

HTML elements – start tag and end tag …. Empty elements – Attributes for elements – tag names and attributes are case insensitive filename is case sensitive More on Tags

To create hot spots (or Anchors) you need two things – URLs (Uniform Resource Locator) – Links Anchors and Links allow readers to jump from place to place in the document URL is a fancy way of saying address or location for information on the Internet You need to jump to secure sites to do transactions for e-commerce Spinning your HTML Web

Example: protocol indicator,hostname,directory/filename Types: – Absolute URLs (also called complete URLs) – Relative URLs (are incomplete URLs) Other Protocols (mailto, ftp, etc) ftp://ftp/pub/images/backgrounds/glosbgr.gif URL Anatomy & Types

<A HREF=“ Examples

Components required – The Tag: anchor_name – HREF: Indicates where to jump – NAME: Identifies an internal label HREF: Lets users jump to either material on the same Web site or to other material on the Internet NAME: Lets users jump to material within the same document Building Anchors

anchor_name – something = #name name=funny (for example) – something = filename.html[#name] tutorial.html – something = a Web site, for example ftp://www/ksu.edu.sa/~ahmed/jokes.html Funny Named Anchor & Basic Links

Including Aligning Using them as links Making images load more quickly Using thumbnail images Using Images in Web Pages

Must include them as GIF or JPG graphics Use graphic editors, scanners, or, borrow Must use an Image Tag ALT="... " specifies text to be displayed if image not available BORDER=# of pixels, controls the thickness of the border Pictures can be aligned Left, Right, etc. Adding Images

Biography Dr. Sadiq M. Saits Biography <IMG SRC="sadiq.gif" ALT="Picture of Sadiq Sait " ALIGN=RIGHT HSPACE=20 HEIGHT=100 WIDTH=50> Picture of Sadiq M. Sait for his biography... Example of Image inclusion

Loading of images is made faster by telling the browser the size of the image Size is specified in pixels You can link by using images – Can have pictures with no borders You can use thumbnail images to link to larger images Making clickable images (image maps) Some notes on Images

<IMG SRC="sadiq.gif" ALT="Picture of Sadiq Sait" ALIGN=RIGHT HSPACE=20 HEIGHT=100 WIDTH=50 BORDER=0> Sadiq M. Sait was born in Pictures as Links

<IMG SRC="sadiqthumbnail.gif" ALT="Picture of Sadiq Sait"> Thumbnail of Sait’s picture…. Using Thumbnails

Enable readers to click on parts of images (e.g., click on a state or country in a map) HTML tag used in Define clickable areas Examples – Map a rectangle, circle or polygons Clickable Images

Choosing Colors – Background – Links (link, alink, vlink) – Text Colors can be chosen for tables, background etc. RGB concept (#FFFFFF=white) Choosing background (using images,.gif files) Other Attributes

CENTER, BLINK, HR, APPLET – SELECT, OPTION, TEXTAREA – TR, TH, TD, CAPTION FRAME – FRAMESET And many more…. Some More Tags

Tables, Forms, Frames, Simple animation Inclusion of Java Applets JavaScript CGI programs Beyond Simple HTML

What are they used for – Surveys – Collect addresses of visitors to your Homepage – Allow people to register for something Features – Submitted by mail – Security (Passwords) – Checkboxes and Radio buttons – Area for Text and Comments Require a CGI program on server to process data coming from the form submission 37 Forms on Web

… enclose form... ACTION=“…” identifies what should happen when the form is submitted identifies some type of input field CHECKED shows which item is selected by default (check box/radio button) TYPE indicates the type of field (text, password, radio, submit, reset, etc) VALUE indicates the value of the button HTML TAGS/Attributes

SRC: URL of documents to be displayed NAME: so this frame can be targeted by links in other documents Physical dimensions: Height, width etc. Other features: Scrolling, Resizing, etc. They are a complete HTML document or a page Frames

Compile the Java code (e.g., use javac) – example: javac Blinker Creates file with extension.class, – example Blinker.class Use the tags … Specify parameters such as speed, color (for background and text, etc.) Java Applet inclusion

Java Applet Inclusion (contd)

Java Applet Inclusion (contd..)

cgi-bin (JavaScript, Java, Helper Programs, Plug-ins) Executable: Example – people visited this page. Helper programs – to send mail – run audio/video applications – etc CGI (Common Gateway Interface)