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?)

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.
Working with Images and HTML
Chapter 3 – Web Design Tables & Page Layout
HTML popo.
CREATED BY : VIRAL M.KORADIYA. Anchor elements are defined by the element. The element accepts several attributes, but either the Name or HREF attribute.
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 Chapter 4 Key Concepts 1 Copyright © Terry Felke-Morris.
HTML Introduction (cont.) 10/01/ Lecture 8, MAT 279, Fall 2009.
CIS101 Introduction to Computing Week 07. Agenda Your questions Resume project Review Project Two HTML Project Three This week online Next class.
Cos 125 DAY 15. Agenda Left to do 6 Assignments (9 total) One per week 3 Quizzes Capstone projects First Capstone Progress Report OverDue Feb 24 Next.
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
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.
Images and Tables. Displaying Image Attributes: SRC= " mypic.gif " – Name of the picture file SRC= " pic/mygif.jpg " – Name of file found in pic directory.
HTML Essentials Frames and Frame Tags. Introduction A frame used to be an effective design tool Utilized space effectively by subdividing screen One idea:
Copyright © Texas Education Agency, All rights reserved. 1 Web Technologies Website Development with Dreamweaver.
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.
Web Technologies Website Development Trade & Industrial Education
HTML Boot Camp: Rules and Images
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.
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) –
Images in HTML PowerPoint How images are used in HTML.
Website Development with Dreamweaver
CIS67 Foundations for Creating Web Pages Professor Al Fichera Reference for CIS127 and CIS 137.
DHTML AND JAVASCRIPT Genetic Computer School LESSON 2 HTML TAGS G H E F.
 This presentation introduces the following: › 3 types of CSS › CSS syntax › CSS comments › CSS and color › The box model.
Last week you should have had something that looked like this.
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.
Chapter 4 BIE1313/BPROG1203 | Web design Prepared by Mohamed Abdulkarim / Mike Ng Ah Ngan.
XHTML1 Images N100 Building a Simple Web Page. XHTML2 The Element The src attribute specifies the filename of an image file To include the src attribute.
Week 1 – Beginners Content McAfee & Big Fish Games CoderDojo.
4 Chapter Four Introduction to HTML. 4 Chapter Objectives Learn basic HTML commands Discover how to display graphic image objects in Web pages Create.
Chapter 2 Web Page Design Mr. Gironda. Elements of a Web Page These are things that most web pages use.
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”
HTML ( HYPER TEXT MARK UP LANGUAGE ). What is HTML HTML describes the content and format of web pages using tags. Ex. Title Tag: A title It’s the job.
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.
Adding Images. XHTML Element ElementAttributeAttribute Value Closing tag AttributeAttribute Value The src attribute supplies the name and location of.
HTML GUIDE Press F5 and then Click on the links on the left to get to the section you want Section 1: Getting Started Section 2: Moving Banner Section.
1 HTML Frames
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.
Adding Images to Your Web Page Web Design Section 5-7 Part or all of this lesson was adapted from the University of Washington’s “Web Design & Development.
2.1 XHTML. Motto High thoughts must have high language. –Aristophanes.
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: … …
Slide 1 Graphics (Characteristics 1) Images have various characteristics that affect performance Size (number of pixels) – Large images can be several.
REEM ALMOTIRI Information Technology Department Majmaah University.
OV Copyright © 2008 Element K Content LLC. All rights reserved. Working with Web Pages  An Introduction to Cascading Style Sheets  Format a Web.
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 Tutorial. What is HTML HTML is a markup language for describing web documents (web pages) HTML documents are described by HTML tags Each HTML tag.
HTML5 and CSS3 Illustrated Unit F: Inserting and Working with Images.
Revision Webpage design HTML.   FACE  Attributes  Marquee  Define the following terms.
HTML Help book. HTML HTML is the programming language used to make web pages for the Internet. HTML stands for Hyper Text Markup Language. HTML is made.
Lecture 6, MAT 279, Fall HTML Introduction (cont.) 9/17/2009.
Fall 2016 CSULA Saloni Chacha
>> Introduction to CSS
JAVA Applets Pavan D.M..
HTML Images CS 1150 Spring 2017.
Cascading Style Sheets - Building a stylesheet
Basic HTML and Embed Codes
HTML Introduction Lecture 8.
HTML Images CS 1150 Fall 2016.
Pertemuan 1b
Pertemuan 1 Desain web Pertemuan 1
Lesson 5: HTML Tables.
Cascading Style Sheets - Building a stylesheet
Presentation transcript:

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?)  Some useful resources:   A quick 10 min. in-class quiz Lecture 8

Today, we will cover 1. Attributes of tags 2. Some more tags - Image handling in HTML 3. In-class webpage development Lecture 8

What if I decide to change the style of the texts inside the Tags? Attributes in Tags

Lecture 8 Attributesin tags  Attribute - a property of an HTML element (tag)  Control appearance of elements in the document  consists of  attribute_name and  attribute_value  used with opening tag  General syntax content

The Attributes  Example: ALIGN attribute  Used for aligning text in a web browser attribute_name: ALIGN atribute_value: LEFT | CENTER | RIGHT  Example usage: Earlier we used: Welcome to MAT 279 Now: Welcome to MAT 279  There are many attributes we will learn in this class  Some of them can be readily used with most of the tags  Some are tag-specific Lecture 8

The Attributes (contd.) Lecture 8

More recent: style attribute  controls how the browser displays an element  used with opening tag  syntax content  rules  a set of style rules  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

Image Handling  So far, we have covered text handling  Now, we will learn how to do image handling  What is the tag for image element? Lecture 8

Image tag  tag: place images on Web Pages  One sided tag  Necessary attributes for :  src attribute: specifies name of image file  attribute_name: src  attribute_value: source file name  alt attribute, give your image a hidden name  attribute_value: a hidden name of your image  example:  Lecture 8

Image tag (contd.)  How to specify size of the image file to be displayed?  Use attributes  attribute_name: width, height  attribute_value: define the width or the height of image  example: Lecture 8

Image tag (contd.)  Width and height attribute  attribute_value: define the width or the height of image  Two types of units  Pixels: number of pixels (eg, “100px” or just “100”)  Percent: (eg, “20%”)  example: Lecture 8

Image tag (contd.)  place an image in center of a browser  Use, … tag  example  Alternatively, Lecture 8

Few things to remember:  Use image files in.gif,.jpg,.png format  Do NOT use.bmp,.tiff,.pict  Use images with small size Lecture 8

NOTE  When inserting an image, make sure that the image file is located at the same disk directory as shown in your src attribute in tag  Example  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! Lecture 8

In-class Practice – design this webpage Lecture 8

An interesting attribute – “title”  title can also be used as an attribute  Shows a pop-up title for your element  Mostly used with images for description  General syntax  title=“value” Lecture 8