Lecture 6, MAT 279, Fall 2009 1 HTML Introduction (cont.) 9/17/2009.

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

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!
INTRODUCTION TO HYPERTEXT MARKUP LANGUAGE 1. Outline  Introduction  Markup Languages  Editing HTML  Common Tags  Headers  Text Styling  Linking.
Developing a Web Site: Links Using a link is a quicker way to access information at the bottom of a Web page than scrolling down A user can select a link.
HTML Introduction (cont.) 10/01/ Lecture 8, MAT 279, Fall 2009.
HTML Introduction. What we have learned so far:  2.1 Basic HTML page development  2.2 Tags… (example?)  2.3 Lists… (example?)  2.4 Single Tag… (example?)
Web Structure Create Links Using HTML. 2 Objectives List different types of Web site structures and how to employ them Create element ids to mark specific.
CIS101 Introduction to Computing HTML Project Two.
 2008 Pearson Education, Inc. All rights reserved. 1 Introduction to HTML.
Creating a Web Page HyperText Markup Language. HTML Documents  Created using any text editor  Notepad  Vi, Pico, or Emacs  If using word-processor,
Database-Driven Web Sites, Second Edition1 Chapter 2 INTRODUCTION TO HTML.
Chapter 2: Application layer  2.1 Web, HTTP and HTML (We will continue…)  2.2 FTP  2.3 SMTP 9/22/2009 Lecture 7, MAT 279, Fall
Computer Science 103 Chapter 2 HyperText Markup Language (HTML)
 2003 Prentice Hall, Inc. All rights reserved. Chapter 4 - Introduction to XHTML: Part 1 Outline 4.1 Introduction 4.2 Editing XHTML 4.3 First XHTML Example.
Announcement #1 1 Lecture 9. Announcement #2  Midterm exam will be on Oct. 12 (Tuesday)  pm – 1.45 pm  Exam will cover all materials till Oct.
XP 1 Developing a Basic Web Site Creating a Chemistry Web Site Tutorial 2.
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: PART ONE. Creating an HTML Document  It is a good idea to plan out a web page before you start coding  Draw a planning sketch or create a sample.
HTML Tags. Objectives Know the commonly used HTML tags Create a simple webpage using the HTML tags that will be discussed.
XP Tutorial 2New Perspectives on HTML, XHTML, and DHTML, Comprehensive 1 Developing a Basic Web Site Creating a Chemistry Web Site Tutorial 2.
CNIT 132 – Week 3 HTML (2). Working with Links Using a link is a quicker way to access information at the bottom of a Web page than scrolling down. A.
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.
Amber Annett David Bell October 13 th, What will happen What is this business about personal web pages? Designated location of your own web page.
WEB DESIGN USING DREAMWEAVER. The World Wide Web –A Web site is a group of related files organized around a common topic –A Web page is a single file.
Hyperlinks. Linking pages…Hyperlinks 2 Lecture 8  Hyperlink “A clickable HTML element that will direct the web browser to display a different Web page.
Images (1) Three most popular formats – Graphics Interchange Format (GIF) – Joint Photographic Experts Group (JPEG) – Portable Network Graphics (PNG) –
HTML history, Tags, Element. HTML: HyperText Markup Language Hello World Welcome to the world!
Chapter 1 XHTML: Part I The Web Warrior Guide to Web Design Technologies.
Chapter 2 HTML Basics Key Concepts Copyright © 2013 Terry Ann Morris, Ed.D 1.
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.
Developing a Web Site. Web Site Navigational Structures A storyboard is a diagram of a Web site’s structure, showing all the pages in the site and indicating.
 2008 Pearson Education, Inc. All rights reserved Introduction to XHTML.
 2008 Pearson Education, Inc. All rights reserved Introduction to XHTML.
LEARN THE QUICK AND EASY WAY! VISUAL QUICKSTART GUIDE HTML and CSS 8th Edition Chapter 6: Links.
1.  Use the anchor element to link from page to page  Configure absolute, relative, and hyperlinks  Configure relative hyperlinks to web pages.
Unit 2, cont. September 12 More HTML. Attributes Some tags are modifiable with attributes This changes the way a tag behaves Modifying a tag requires.
Unit 3 Day 6 FOCS – Web Design. Journal Unit #3 Entry #4 Write the source code that would make the following display on a rendered page: Shopping List.
 2008 Pearson Education, Inc. All rights reserved Introduction to XHTML.
Developing a Basic Web Site
4 Chapter Four Introduction to HTML. 4 Chapter Objectives Learn basic HTML commands Discover how to display graphic image objects in Web pages Create.
Introduction to HTML Xiangming Mu 9/23/ Learning Objectives Understand basic HTML tags and their attributes Learn to create a simple HTML page.
XP 1 Developing a Basic Web Site Creating a Chemistry Web Site Tutorial 2.
Tutorial 2 Developing a Web Site. XP Objectives Learn how to storyboard various Web site structures Create links among documents in a Web site Understand.
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 Introduction. Lecture 7 What we will cover…  Understanding the first html code…  Tags o two-sided tags o one-sided tags  Block level elements.
XP INFT 140 – Chapter 2 1 Developing a Basic Web Site Creating a Chemistry Web Site.
HTML IMAGES. CONTENTS IMG Tag Alt Attribute Setting Width and Height Of An Image Summary Exercise.
Basic Webpage Design Mark-up html document with images.
HTML Basics. HTML Coding HTML Hypertext markup language The code used to create web pages.
HTML CS 105. Page Structure HTML elements control the details of how a page gets displayed. Every HTML document has the following basic structure: … …
Developing a Basic Web Site HTML Tutorial 2. Objectives Define links and how to use them. Create element ids to mark specific locations within a document.
REEM ALMOTIRI Information Technology Department Majmaah University.
Department of Computer Science, Florida State University CGS 3066: Web Programming and Design Spring
`. Lecture Overview HTML Body Elements Linking techniques HyperText references Linking images Linking to locations on a page Linking to a fragment on.
Department of Computer Science, Florida State University CGS 3066: Web Programming and Design Spring
XP 2 HTML Tutorial 1: Developing a Basic Web Page.
1999, COMPUTER SCIENCE, BUU Introduction to HTML Seree Chinodom
XP 1 Charles Edeki AIU Live Chat for Unit 2 ITC0381.
Lecture 8 Introduction to Web Programming. Announcement  First In-class exam will be on Oct. 10 (Wednesday)  2.50pm – 4.05pm  Exam will cover all materials.
HTML Basics.
Section 4.1 Section 4.2 Format HTML tags Identify HTML guidelines
Intro to CSS CS 1150 Fall 2016.
COMPUTING FUNDAMENTALS
CNIT 131 HTML5 – Anchor/Link.
HTML Introduction Lecture 8.
HTML Images CS 1150 Fall 2016.
Pertemuan 1b
Presentation transcript:

Lecture 6, MAT 279, Fall HTML Introduction (cont.) 9/17/2009

Lecture 6, MAT 279, Fall 2009 First Example A Simple HTML Example Welcome to Math 279 Math 279 is fun! This is the first paragraph. And this is the second paragraph. 9/17/2009 2

Lecture 6, MAT 279, Fall 2009 First Example A Simple HTML Example Welcome to Math 279 Math 279 is fun! This is the first paragraph. And this is the second paragraph. You want to make the text bold 9/17/2009 3

Lecture 6, MAT 279, Fall 2009 Working with inline elements ,…, : boldface element, darkens any text inside  How about italicize? o,…, : italicizes any text inside  Inline element: marks a section of text within a block-level element 9/17/2009 4

Lecture 6, MAT 279, Fall Quick review  Four basic HTML tags…  Block-level elements o contain content viewed as distinct block within webpage o when rendered visually, start on a new line o example?  In-line elements o marks a section of text within a block-level element o example? 9/17/2009

Lecture 6, MAT 279, Fall What if I decide to change the style of the text inside the Tags? 9/17/2009

Lecture 6, MAT 279, Fall Attributes in Tags 9/17/2009

Lecture 6, MAT 279, Fall Attributesin tags  a property of an HTML element (tag)  consists of o attribute_name and o attribute_value  used with opening tag  Example: ALIGN attribute o attribute_name: ALIGN o atribute_value: LEFT | CENTER | RIGHT o Welcome to MAT 279 9/17/2009

Lecture 6, MAT 279, Fall The style attribute  controls how the browser displays an element  used with opening tag  syntax content  rules o a set of style rules o entered by specifying a style name followed by a colon and then a style value style=“name1:value1; name2:value2; …”  e.g. Welcome to MAT 279 9/17/2009

Lecture 6, MAT 279, Fall Empty element – single Tag  an empty element contains no contents  usually one-side elements  e.g. o line break: o horizontal line:  exercise o add line breaks between two sentences in a paragraph. o add horizontal lines after each list. 9/17/2009

Lecture 6, MAT 279, Fall Image tag  tag: place images on Web Pages  src attribute: specifies name of image file o attribute_name: src o attribute_value: source file name  alt attribute, give your image a hidden name o attribute_value: a hidden name of your image  example: o 9/17/2009

Lecture 6, MAT 279, Fall Image tag (cont.)  WIDTH, HEIGHT attribute: specifies size of image file o attribute_name: width, height o attribute_value: define the width or the height of a image  example: 9/17/2009

Lecture 6, MAT 279, Fall Image tag (cont.)  place an image in center of a browser o, … tag o example  Alternatively, 9/17/2009

Lecture 6, MAT 279, Fall Remember:  use image files in.gif,.jpg,.png format  do NOT use.bmp,.tiff,.pict  use images with small size 9/17/2009

Lecture 6, MAT 279, Fall NOTE  When insert an image, make sure that the image file is located at the same disk directory as shown in your src attribute in tag  Example o if is used in your html file, then the image file (logo.jpg) MUST be installed in the same disk and same file folder with your html file! 9/17/2009

Next Level: Developing a Web Site Lecture 6, MAT 279, Fall /17/2009

Working with Web Site Structures  A well-designed structure ensures users o navigate the site o not get lost or miss important information  A storyboard is a diagram of a Web site’s structure o shows all pages in a site o indicates how the pages are linked together o defines a structure works best for the type of information of the site Lecture 6, MAT 279, Fall /17/2009

(1) Linear Structures  each page is linked with the page follows and the page precedes it in a chain  works best for Web pages with a clearly defined order  commonly, each page contains an additional link back to an opening page Lecture 6, MAT 279, Fall /17/2009

Linear Structures Lecture 6, MAT 279, Fall /17/2009

(2) Hierarchical Structures  pages are linked going from the home page down to more specific pages  users easily move from general to specific and back  a user can move quickly to a specific page without moving through each page in order Lecture 6, MAT 279, Fall /17/2009

Hierarchical Structures Lecture 6, MAT 279, Fall /17/2009

(3) Mixed Structures  overall form hierarchical, allowing the user to move from general to specific  in the same time, links allow users to move through the site in a linear fashion Lecture 6, MAT 279, Fall /17/2009

Mixed Structures Lecture 6, MAT 279, Fall /17/2009

(4) Protected Structures Lecture 6, MAT 279, Fall /17/2009

Creating a Hypertext Link Lecture 6, MAT 279, Fall /17/2009

Lecture 6, MAT 279, Fall /17/2009 Hyperlinks  Hyperlink “A clickable HTML element that will direct the web browser to display a different Web page or a different location on the current Web page.”  Three type of HTML links o Relative URL  links to a Web page on the same Web server  only need relative directory for the linked file o Absolute URL  links to a Web page on a different Web server  a complete URL should be used e.g., o Name id  links to a different location on the same Web page

Lecture 6, MAT 279, Fall /17/2009  use anchor tags …, and href attribute o href = “a link destination”  link label o visible link on a Web page o can be text or image  link destination o the target destination o other web pages, or files (e.g., ppt, pdf files)  example Tips Hyperlink Components link destination link label, visible on a Web page

Exercise? Lecture 6, MAT 279, Fall /17/2009