Putting An Image on Your Web Page

Slides:



Advertisements
Similar presentations
HTML Basics Customizing your site using the basics of HTML.
Advertisements

CSS The basics { }. CSS Cascading Style Sheets - language used to – describe html appearance & formatting Style Sheet - file that describes – how html.
INTRODUCTION TO HYPERTEXT MARKUP LANGUAGE 1. Outline  Introduction  Markup Languages  Editing HTML  Common Tags  Headers  Text Styling  Linking.
COMP101 – Exploring Multimedia and Internet Computing LA2 (Thur 14:00 – 16:50) TA: Jackie Lo.
4.01 Cascading Style Sheets
CSS (Cascading Style Sheets): How the web is styled Create Rules that specify how the content of an HTML Element should appear. CSS controls how your web.
Cascading Style Sheets (CSS) Instructor: Mr. Ahmed Al Astal ITGD4104 Department Requirement for senior student University of Palestine Faculty of IT.
.  Entertain  Inform  Educate  Blogs  Sell  Date  Gamble  Religion.
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.
 This presentation introduces the following: › 3 types of CSS › CSS syntax › CSS comments › CSS and color › The box model.
Programming in HTML.  Programming Language  Used to design/create web pages  Hyper Text Markup Language  Markup Language  Series of Markup tags 
CSS CSS is short for C ascading S tyle S heets. It is a new web page layout method that has been added to HTML to give web developers more control over.
Web Foundations TUESDAY, OCTOBER 22, 2013 LECTURE 16: WEB IMAGES.
HTML: Hyptertext Markup Language Doman’s Sections.
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”
INTRODUCTION TO CSS. TOPICS TO BE DISCUSSED……….  Introduction Introduction  Features of CSS Features of CSS  Creating Style Sheet Creating Style Sheet.
Quick Questions 1. What does HTML stand for? 2. What are the three main languages of the Web? 3. What is the purpose of the tags? 4. Why do we indent different.
DYNAMIC HTML What is Dynamic HTML: HTML code that allow you to change/ specify the style of your web pages. Example: specify style sheet, object model.
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.
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.
Spiderman ©Marvel Comics Creating Web Pages (part 1)
REEM ALMOTIRI Information Technology Department Majmaah University.
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.
Tutorial #1 Using HTML to Create Web Pages. HTML, XHTML, and CSS HTML – HyperText Markup Language The tags the browser uses to define the content of the.
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.
Introduction to HTML Dave Edsall IAGenWeb County Coordinator’s Conference June 30, 2007.
Blended HTML and CSS Fundamentals 3 rd EDITION Tutorial 1 Using HTML to Create Web Pages.
HTML Structure & syntax
Fall 2016 CSULA Saloni Chacha
CSS for Styling Text.
HTML Basics.
Objective % Select and utilize tools to design and develop websites.
Section 4.1 Section 4.2 Format HTML tags Identify HTML guidelines
4.01 Cascading Style Sheets
Bare boned notes.
Images in HTML PowerPoint How images are used in HTML
>> Introduction to CSS
HTML.
Bare bones notes.
AN INTRODUCTORY LESSON TO MAKING A SIMPLE WEB PAGE By: RC Emily Solis
Intro to CSS CS 1150 Fall 2016.
Objective % Select and utilize tools to design and develop websites.
Adding Images to Your Web Page
HTML Images CS 1150 Spring 2017.
Introduction to web design discussing which languages is used for website designing
Chapter 3 Images.
Website Design 3
Intro to CSS CS 1150 Spring 2017.
Putting Images on Your Web Page
Graphics (Characteristics 1)
Intro to CSS Mr. Singh.
Basic HTML and Embed Codes
What are Cascading Stylesheets (CSS)?
Lesson 4 – Introduction to CSS
Bare bones notes.
HTML Images CS 1150 Fall 2016.
Pertemuan 1b
Training & Development
Web Design and Development
Exercise 9 Skills You create and use styles to create formatting rules that can easily by applied to other pages in the Web site. You can create internal.
Understand basic HTML and CSS terminology, concepts, and basic operations. Objective 3.01.
Images in HTML PowerPoint How images are used in HTML
Lesson 3: Cascading Style Sheets (CSS) and Graphical Elements
4.01 Cascading Style Sheets
5.00 Apply procedures to organize content by using Dreamweaver. (22%)
One Set of Styles Connected to As Many Pages as You Want!!!
Images in HTML PowerPoint How images are used in HTML
Presentation transcript:

Putting An Image on Your Web Page

img Tag src  specify the file name & extension of the picture width & height  of the picture in pixels alt  Short description of the picture in words

Considered in a Bit More Detail Attributes Considered in a Bit More Detail

src Filename is case-sensitive Spaces in filename cause problems Naming convention for us: Keep filenames fairly short Separate multiple words with hyphens Filenames should make sense to describe image

Where should the file actually be located The pictures are still separate from the page If src=“filename.jpg”…. filename.jpg sits directly next to the web page in the SAME folder If src=“images/filename.jpg”… filename.jpg sits inside a folder called images that is in the same folder as the web page

Relative The URL we are listing for the image is just the filename or the filename and folder that contains it This is b/c the picture is internal to our site If picture were not in our site (still saved on Flickr, etc), we’d need the whole URL (an absolute address)

height & width Why specify? So browser knows how much space to leave for the picture as the page renders

alt Description of what the picture shows Why? some of your visitors cannot see images alt attribute is of great help for those search engine bots can use this info

Changing Some Colors

CSS Cascading Style Sheet Write rules to apply styles to page content Show students the CSS Zen Garden site. This site makes available an html page and a style sheet that graphic designers can use to submit their own styling of the page. As you select a design, ask students to notice how the content (text) of the page isn’t changing. Not changes are being made to the html file, only changes to the CSS used to apply styles to it. Have students note the extreme differences in style applications that have been provided as examples to this site.

Creating a CSS Rule Selector: what element to style? Property: what portion of element tweak? Value: sets value for that property

Selector Selector can be any html tag If selector is a tag, will apply style to all such tags on the page

Where does the CSS go? <head> section After the meta tags Between two <style> tags Define as many style rules there as you need

What are these color numbers? We’ll talk in depth about what they mean later For now – to figure out a color – easiest way is to find the Brackets Color Picker extension and install it

Using Color Picker When you write your style rule… Type color: The picker will pop up Alternate Option: Website with Color Picker: http://www.w3schools.com/tags/ref_colorpicker.asp

What Properties Let You Change Color? Thing It Changes Official Property Name Color of Text color Background color of screen behind background-color