REEM ALMOTIRI Information Technology Department Majmaah University.

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

Working with Images and HTML
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: HyperText Markup Language Hello World Welcome to the world!
Presenter: James Huang Date: Sept. 26,  Introduction  Basics  Lists  Links  Forms  CSS 2.
INTRODUCTION TO HYPERTEXT MARKUP LANGUAGE 1. Outline  Introduction  Markup Languages  Editing HTML  Common Tags  Headers  Text Styling  Linking.
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 Chapter 4 Key Concepts 1 Copyright © Terry Felke-Morris.
Introduction to HTML Lists, Images, and Links. Before We Begin Save another file in Notepad Save another file in Notepad Open your HTML, then do File>Save.
LIST- HYPERLINK- IMAGES
Introduction to Web Site Development Steven Emory Department of Computer Science California State University, Los Angeles Lecture 3: Hyperlinks and Images.
CIS101 Introduction to Computing HTML Project Two.
 2008 Pearson Education, Inc. All rights reserved. 1 Introduction to HTML.
Academic Year, Spring Semester Bilkent University - Faculty of Art, Design and Architecture Department of Communication and Design CS 153 Introduction.
Lecture 13. A Very Brief Introduction to HTML and XHTML, part II Instructor: Jie Yang Department of Computer Science University of Massachusetts Lowell.
Copyright © 2004 ProsoftTraining, All Rights Reserved. Lesson 9: Frames © 2007 Prosoft Learning Corporation All rights reserved ITD 110 Web Page Design.
Copyright © 2004 ProsoftTraining, All Rights Reserved. Lesson 9: HTML Frames.
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.
CS105 Introduction to Computer Concepts HTML
HTML Links and Anchors.
Links in HTML. Hyperlinks or links Millions of linked web pages make up the World Wide Web Used to connect a web page to another web page on the same.
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.
1 Essential HTML coding By Fadi Safieddine (Week 2)
Informatics Computer School CS114 Web Publishing HTML Lesson 2.
Hyperlinks. Linking pages…Hyperlinks 2 Lecture 8  Hyperlink “A clickable HTML element that will direct the web browser to display a different Web page.
HTML Overview Part 4 – Tables 1. HTML Tables  Tables are defined with the tag pair.  A table is divided into rows with tag pairs. o tr stands for "table.
Images (1) Three most popular formats – Graphics Interchange Format (GIF) – Joint Photographic Experts Group (JPEG) – Portable Network Graphics (PNG) –
Images in HTML PowerPoint How images are used in HTML.
HTML history, Tags, Element. HTML: HyperText Markup Language Hello World Welcome to the world!
HTML. Basic HTML HTML document – HTML headings – to HTML paragraphs – HTML links – HTML images –
McGraw-Hill/Irwin Copyright © 2013 by The McGraw-Hill Companies, Inc. All rights reserved. Extended Learning Module F Building a Web Page with HTML.
DHTML AND JAVASCRIPT Genetic Computer School LESSON 2 HTML TAGS G H E F.
Programming in HTML.  Programming Language  Used to design/create web pages  Hyper Text Markup Language  Markup Language  Series of Markup tags 
Linking web pages Wah Yan College (Hong Kong) Mr. Li C.P.
Creating Web Pages with Links, Images, and Formatted Text
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.
CS105 INTRODUCTION TO COMPUTER CONCEPTS HTML Instructor: Cuong (Charlie) Pham.
Introduction to HTML Xiangming Mu 9/23/ Learning Objectives Understand basic HTML tags and their attributes Learn to create a simple HTML page.
Copyright (c) 2004 Prentice-Hall. All rights reserved. 1 Committed to Shaping the Next Generation of IT Experts. Adding Graphical Elements Essentials for.
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”
1 Review of HTML Elements. 2 The tag These tags are marked as comments in HTML. Any text between these two comment tags will.
Internet Applications Development Lecture 4 L. Obead Alhadreti.
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.
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 Links HTML uses a hyperlink to another document on the Web.
HTML CS 105. Page Structure HTML elements control the details of how a page gets displayed. Every HTML document has the following basic structure: … …
1 Creating the Home Page. 2 Creating a Table Table attributes  Two rows and two columns  No border  Left-aligned Change the vertical alignment of the.
1 Start TextEdit. 2 Creating a Home Page  A home page is the main page of a Web site –Visitors usually view the home page first –Identify the purpose.
ECA 228 Internet/Intranet Design I HTML Tags. ECA 228 Internet/Intranet Design I anchor tags Adds a link to the web page Anything placed between the anchor.
Links and Images. Links HTML uses a hyperlink to link to another document on the Web A hyperlink can be either text or a picture Links are created with.
Department of Computer Science, Florida State University CGS 3066: Web Programming and Design Spring
Department of Computer Science, Florida State University CGS 3066: Web Programming and Design Spring
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.
This is a test Webpage Wow, I’m writing my first webpage.
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 Basics.
Images in HTML PowerPoint How images are used in HTML
CIIT-Human Computer Interaction-CSC456-Fall-2015-Mr
Hosted by Coach Slanina
GRAPHICS(IMAGES) Explained By: Sarbjit Kaur.
HTML Images CS 1150 Spring 2017.
COMPUTING FUNDAMENTALS
Chapter 3 Images.
HTML Introduction Lecture 8.
HTML Images CS 1150 Fall 2016.
Pertemuan 1b
Images in HTML PowerPoint How images are used in HTML
Presentation transcript:

REEM ALMOTIRI Information Technology Department Majmaah University

Lecture 4

Contents: Links Images

Links HTML Hyperlinks (Links) : A hyperlink (or link) is a word,group of words,or image that you can click on to jump to a new document or a new section within the current document. Links are specified in HTML using the tag.

Types of links : 1.Internal link to a place in the same page. 2.Local link to another page in the same site. 3.Global link to another page in the different site.

HTML Link Syntax : Link text The href attribute(hypertext reference) specifies the destination of a link. Link text can be a text or image.

Links Examples : Link to a site links between my own pages Linking to a Specific Part of a Page link Unordered list of links

Link to a site Link to a site Visit W3Schools.com! Example Note: If you set the target attribute to "_blank", the link will open in a new browser window The title attribute is used to type a short description of the link

links between my own pages index about us Example about us A link to page 1

links between my own pages "../" points to the folder one level up from position of the file from which the link is made. Following the same system, you can also point two (or more) folders up by writing "../../". Alternatively, you can always type the complete address for the file (URL).

Linking to a Specific Part of a Page Link to Learn HTML Link to Learn CSS Learn HTML Text text text text Learn CSS Text text text text Example

link Send an to computer department Example

Unordered list of links w3schools google Yahoo Example

HTML Images The Tag and the Src Attribute In HTML, images are defined with the tag. The tag is empty tag, which means that it contains attributes only, and has no closing tag. To display an image on a page, you need to use the src attribute. Src stands for ( source ).the value of the src attribute is the URL of the image you want to display.

The images which can be displayed in web page is JPG – JPEG – gif – png Syntax for defining an image:

The Alt Attribute The alt attribute specifies an alternate text for an image, if image cannot be displayed. Height and width Attributes The height and width attributes are used to specify the height and width of an image. The attribute values are specified in pixels by default.

Align Attribute Values Top – Bottom – Middle – Right – Left. Border Attribute Get a border to the image. Vspace Attribute Define the space at the top and bottom of the image. Hspace Attribute Define the space at the left and right of the image.

images Examples: Insert images Insert images from different locations Aligning Images Vertically Aligning Images Horizontally Make a hyperlink of an image

Insert images An image: Example

Insert images from different locations An image from another folder: An image from W3Schools: Example

Aligning Images Vertically This is some text. This is some text. Example

Aligning Images Horizontally A paragraph with an image. The image will float to the left of this text. A paragraph with an image. The image will float to the right of this text. Example

Make a hyperlink of an image Create a link of an image with border around it : Example