Internet Applications Development Lecture 4 L. Obead Alhadreti.

Slides:



Advertisements
Similar presentations
Working with Images and HTML
Advertisements

Working with Graphics – Lesson 21 Working with Graphics Lesson 2.
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 Chapter 4 Key Concepts 1 Copyright © Terry Felke-Morris.
LIST- HYPERLINK- IMAGES
Web Page Creation Part I ST: Introduction to Web Interface Design Prof. Angela Guercio Spring 2007.
1 IMAGES: A Picture Is Worth a Thousands Words, Image Formats Image Sizes Graphic Tips Image Tag Attributes Centering Images.
Marking Up With Html: A Hypertext Markup Language Primer
 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.
HTML. Creating a Table Attributes: border: indicates the border type of the table Value: 0 (no border), 1, 2, etc. cols: indicates the number of columns.
HTML Tags. Objectives Know the commonly used HTML tags Create a simple webpage using the HTML tags that will be discussed.
Chapter 3 Adding Images in HTML. Agenda Understanding Web Page Images Prepare Your Images for the Web Insert an Image Specify an Image Size Add Alternative.
CS105 Introduction to Computer Concepts HTML
Chapter 4 Fluency with Information Technology L. Snyder Marking Up With HTML: A Hypertext Markup Language Primer.
Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Fluency with Information Technology Third Edition by Lawrence Snyder Chapter.
Adding Images & Working with Images Unit 2. TITLE CORNELL NOTES TOPIC: NOTES: Name: Date:08/10/2009 Period : Summary: To display Art To display Photographs.
Internet & World Wide Web How to Program, 5/e Copyright © Pearson, Inc All Rights Reserved.
Unit 4 Lesson 3 HTML Power Techniques Textbook Authors: Knowlton, Barksdale, Turner, & Collings PowerPoint Lecture by Mr. Clausen.
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 Boot Camp: Rules and Images
.  Entertain  Inform  Educate  Blogs  Sell  Date  Gamble  Religion.
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.
XHTML Images. Images are important Purpose: to enhance your web site. Add only when they complement or add additional impact to your message.
Copyright © 2003 Pearson Education, Inc. Slide 4-1 Created by, Stephanie Ludi, Rochester Institute of Technology—NY Basic Web Page Construction Graphics.
1 Mastering the Internet and HTML Images and Image Tags.
CSCE Chapter 5 (Links, Images, & Multimedia) CSCE General Applications Programming Benito Mendoza 1 By Benito Mendoza Department.
Images Inserting an image on a web page. chcslonline.org2 ITEMS REQUIRED Go to the course download page on the course website and download the 3 images.
Images (1) Three most popular formats – Graphics Interchange Format (GIF) – Joint Photographic Experts Group (JPEG) – Portable Network Graphics (PNG) –
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.
DHTML AND JAVASCRIPT Genetic Computer School LESSON 2 HTML TAGS G H E F.
XP Mohammad Moizuddin Creating Web Pages with HTML Tutorial 1 1 New Perspectives on Creating Web Pages With HTML Tutorial 1: Developing a Basic Web Page.
HTML 4 Foundation Level Course HyperText Markup Language Most common language used in creating Web documents. You can use HTML to create cross-platform.
HTML, Part Showing Pictures: The Image Tags Image Tag Format –src short for source –alt for text –Can use absolute or relative pathname.
Computer Science 101 Images in Web Pages. Image Files Two common formats, GIF and JPEG GIF images are more flexible for use as icons JPEG images are sharper.
INTRODUCTION. What is HTML? HTML is a language for describing web pages. HTML stands for Hyper Text Markup Language HTML is not a programming language,
CS105 INTRODUCTION TO COMPUTER CONCEPTS HTML Instructor: Cuong (Charlie) Pham.
Copyright (c) 2004 Prentice-Hall. All rights reserved. 1 Committed to Shaping the Next Generation of IT Experts. Adding Graphical Elements Essentials for.
Working with Graphics – Lesson 21 Working with Graphics Lesson 2.
HTML Lesson 3 Hyper Text Markup Language. Assignment Part 2  Set the file name as “FirstName2.htm”  Set the title as “FirstName LastName First Web Site”
LECTURE 18 Java and Web Pages. Java Savvy Browser A browser capable of handling java applets: - Netscape Navigator - Microsoft Internet Explorer - Sun.
CIS234A Lecture 8 Instructor Greg D’Andrea. Review Text Table contains only text, evenly spaced on the Web page in rows and columns uses only standard.
HTML. Adding Background Color The bgcolor attribute lets you change the background color of the Web page. Located in the body tag See common Web Page.
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(Hyper Text Markup Language) ByNaveen. Introduction HTML or Hyper Text Markup Language is the standard markup language Its used to create the web.
CSE 409 – Advanced Internet Technology 1 DISCUSSION OF BASIC HTML TAGS.
HTML (Hyper Text Markup Language) Lecture II. Review Writing HTML files for web pages – efficient compact – fundamental. Text files with htm extension.
HTML IMAGES. CONTENTS IMG Tag Alt Attribute Setting Width and Height Of An Image Summary Exercise.
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: … …
Basic HTML Programming Technology Education Ellsworth Community Middle School Communication Systems.
Images. Working with Images What is the difference between the GIF and JPEG formats? GIF – Graphic Interchange Format Limit to 256 colors Often used for.
REEM ALMOTIRI Information Technology Department Majmaah University.
Internet Applications Development Lecture 6 L. Obead Alhadreti.
Revision Webpage design HTML.   FACE  Attributes  Marquee  Define the following terms.
Section 4.1 Section 4.2 Format HTML tags Identify HTML guidelines
Marking Up with XHTML Tags describe how a web page should look
Hosted by Coach Slanina
Chapter 1: Introduction to XHTML (part 1)
GRAPHICS(IMAGES) Explained By: Sarbjit Kaur.
COMPUTING FUNDAMENTALS
Web Development & Design Foundations with HTML5 7th Edition
Font tag and its attributes
Marking Up with XHTML Tags describe how a web page should look
Pertemuan 1b
Attribute of heading, <p> and <hr> tag
Attribute of heading, <p> and <hr> tag
Lesson 3: Cascading Style Sheets (CSS) and Graphical Elements
Hyperlinks, Images, Comments, and More…
Attribute of heading, <p> and <hr> tag
Marking Up with XHTML Tags describe how a web page should look
Presentation transcript:

Internet Applications Development Lecture 4 L. Obead Alhadreti

Lecture Outline: lists. Images.

Inserting lists

HTML contains a set of tags for organizing the data in lists using several options. There are two main types of lists: ordered lists and unordered lists. There is a special type of lists known as definition list.

Ordered Lists Example: 1.Jeddah 2.Riyadh 3.Mecca …. Define an ordered list. To assign each item of the list items, tag is used. tag is a single tag written in the beginning of the line for each item. Every Item in an Ordered list begins with a sequence number. By Default, Ordered lists use decimal sequence numbers (1,2,3,…..).

Example: Jeddah Riyadh Mecca Display: 1.Jeddah 2.Riyadh 3.Mecca Ordered Lists

–By default, ordered lists use decimal sequence numbers (1, 2, 3, …) Example: 1.Jeddah 2.Riyadh 3.Mecca –To change sequence type, use TYPE attribute in opening tag. –This attribute takes the following values ​​ : A, a, I, i, to change the sequence type.

Example: Jeddah Riyadh Mecca Display: A.Jeddah B.Riyadh C.Mecca

–To change the start of the numbering in the order lists, you need to insert the start attribute in the opening tag of the order list. Example: Jeddah Riyadh Mecca Display: 5.Jeddah 6.Riyadh 7.Mecca

Different types of ordered lists

Unordered Lists Example: Jeddah Riyadh Mecca …. Define an unordered list. To assign each item of the list items tag is used. tag is a single tag written in the beginning of the line for each item. By Default, unordered lists use disk symbol.

Unordered Lists Example: Jeddah Riyadh Mecca Display: Jeddah Riyadh Mecca

–By default, unordered lists use disk symbol. Example: Jeddah Riyadh Mecca –To change symbol type, use TYPE attribute in opening tag. –This attribute takes the following values ​​ : ”circle“ and ”square“ to change the symbol type from defaulted symbol ”disk“ to other symbols: ”circle“ and ”square“.

Example: Jeddah Riyadh Mecca Display:  Jeddah  Riyadh  Mecca

Unordered lists with HTML

Definition Lists As the name suggests, we use them when we want to include a list of terms following each one of them an explanation or comment. Example: HTML Hyper Text Markup Language WWW World Wide Web

Definition Lists To insert definition list, we need to use three types of tags: …. define an definition list. placed before each term to select it, a single tag. an explanation or comment tag, is also a single tag.

Example: ‎ ‎ HTML Hyper Text Markup Language‎ ‎ WWW World Wide Web‎‎ Display: HTML Hyper Text Markup Language WWW World Wide Web

Inserting images

Background Image the background attribute is used with the body element to insert a background image into a page:

22 Images The main tag used to insert image into page is. It is a single tag, that has many attributes. Src attribute is used with tag to specify the location of the image file. height and width attributes is used with tag to specify the height and width of the images in pixel.

23 Border attribute is used with tag to specify the width of the border around an image. Alt a attribute is used with tag to provide alternative information for an image if a user for some reason cannot view it (because of slow connection, an error in the src attribute, or if the user uses a screen reader).

24 Align attribute is used with tag to specify the alignment of an image with the text. It has the following attributes: top, middle, bottom for the vertical alignment, and right and left for the horizontal alignment.

26 Background image:IMG element; IMG attributes

27 Images GIF: Graphic Interchange Format GIF is a file format uses a type of compression which is limited to a total of 256 colors.(2 8 =256); which means each pixel has eight bits signifying its color. Ex. bckgrnd.gif When to Use GIFs: –Any graphics that uses few lines, such as a cartoon. –Images with few colors. JPEG: Joint Photograph Experts Group A compression method used that allow high quality compression which retaining millions of colors. Ex. list.jpg It is used when there are a lot of colors. Ibrahim Al-Atoum

Questions ? Be active !