Images: HTML and CSS. The Bells page without images in Source View and Design View.

Slides:



Advertisements
Similar presentations
DREAMWEAVER Welcome to our website!
Advertisements

Learning the Basics – Lesson 1
Start menu -> all program -> Microsoft Visual SourceSafe-> Microsoft Visual Studio 2010 Click.
Creating and Editing a Web Page Using Inline Styles
Chapter 3 Tables and Page Layout
ETT 429 Spring 2007 Web Design I.
Creating Tables in a Web Site Using an External Style Sheet HTML5 & CSS 7 th Edition.
JavaScript “Hello World” in Microsoft Visual Studio August 2012.
With Alex Conger – President of Webmajik.com FrontPage 2002 Level I (Intro & Training) FrontPage 2002 Level I (Intro & Training)
Designing a Classroom Web Site Using NVU Beginning Level.
Web Design HTML, Frontpage, DreamWeaver μέρος β ΠΡΥ019 - Πληροφορική Δρ.Βάσος Βασιλείου.
Lesson 13: Building Web Forms Introduction to Adobe Dreamweaver CS6 Adobe Certified Associate: Web Communication using Adobe Dreamweaver CS6.
Dreamweaver MX. 2 Creating External Style Sheets-1 (p. 400) n A style is a group of formatting attributes identified by a single name. n An ________ style.
Macromedia Dreamweaver CS4 Tutorial. Example of the website1 folder & images folder inside Create a folder on your computer called website1 to hold all.
Chapter 3 Dreamweaver: Part I The Web Warrior Guide to Web Design Technologies.
Dreamweaver CS4 Concepts and Techniques Chapter 7 Page Layout with Frames.
Shows the entire path to the file, including the scheme, server name, the complete path, and the file name itself. Same idea of stating your full name,
© Ms. Masihi.  The Dreamweaver Welcome Screen first opens when you start Dreamweaver.  This screen gives you quick access to previously opened files,
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.
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.
Dreamweaver – Dreamweaver Extras Web Design Section 8-4 Part or all of this lesson was adapted from the University of Washington’s “Web Design & Development.
Informatics Computer School CS114 Web Publishing HTML Lesson 2.
Images (1) Three most popular formats – Graphics Interchange Format (GIF) – Joint Photographic Experts Group (JPEG) – Portable Network Graphics (PNG) –
Intro to Dreamweaver Web Design Section 7-1 Part or all of this lesson was adapted from the University of Washington’s “Web Design & Development I” Course.
DREAMWEAVER Adding photos and other tips!. Making photo gallery  Gather ALL the photos you need into your images folder. (remember to copy the URL so.
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.
XP Dreamweaver 8.0 Tutorial 3 1 Adding Text and Formatting Text with CSS Styles.
Introduction to HTML. What is a HTML File?  HTML stands for Hyper Text Markup Language  An HTML file is a text file containing small markup tags  The.
Tutorial 4: Working with Hyperlinks. Objectives Session 4.1 – Place bookmarks on a Web page – Create a link to a bookmark – Create a link to another Web.
Creating Links – Lesson 31 Creating Links Lesson 3.
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.
Creating Buttons – Lesson 51 Creating Buttons Lesson 5.
Moodle with Style Integrating new technologies to empower learning and transform leadership.
Sports Website Creation. In this project you will design and produce your own website.
Working with Graphics – Lesson 21 Working with Graphics Lesson 2.
CSD 340 (Blum)1 Using Visual Studio CSD 340 (Blum)2 Start/Microsoft Visual Studio 2005/Microsoft Visual Studio 2005.
Using an HTML image (img) element’s onclick event to change the source (src) of an iframe to an embedded youtube video.
CMA Workshop Image Links and Text Links on the Same Line in a Component.
Windows Top 10 Time Savers! Pickens Technical College Business Department.
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.
Tutorial 3 Adding and Formatting Text with CSS Styles.
Macromedia Dreamweaver 8 Revealed AND GRAPHICS WORKING WITH TEXT.
Photoshop Image Slicing. Reasons to Image Slide To create links out of sliced images To optimise different areas. (flat areas of colour, such as logos,
Double –Click on the Netscape Icon on your desktop The following are a series of steps to help you get started with Netscape Composer.
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.
1 More About HTML Images and Links. 22 Objectives You will be able to Include images in your HTML page. Create links to other pages on your HTML page.
PATHNAMES LINKS BACKGROUND.  Pathnames in hyperlinks & image tags  Absolute pathnames: for links to web addresses  Relative pathnames: for links to.
REEM ALMOTIRI Information Technology Department Majmaah University.
`. Lecture Overview HTML Body Elements Linking techniques HyperText references Linking images Linking to locations on a page Linking to a fragment on.
Making a webpage using DreamWeaver CSC 152 (Blum)1.
Make an HTML table using Visual Studio. Approach 1: drag table from Toolbox.
Web and Multimedia Development Copyright © Genetic Computer School 2007WM LESSON OVERVIEW  Use of Tables  Creating Tables  Try It – 1  Creating.
Creating Web Pages with Links, Images, and Embedded Style Sheets
Hyperlinks Links for Other Pages. Hyperlink (aka Link) Text (or image) user can click Takes user to different location In general, location can be: On.
Introduction to HTML.
HTML Basics.
Section 4.1 Section 4.2 Format HTML tags Identify HTML guidelines
With Microsoft FrontPage 2000
Intro to Dreamweaver Web Design Section 8-1
Learning the Basics – Lesson 1
Using the HTML and CSS Validation Services
Creating Links – Lesson 3
JavaScript “Hello World” in Microsoft Visual Studio 2012
USING DREAMWEAVER Contents: Assigning a Root Folder
Cheat Sheet CSCI 100 JW Ryder
File Upload.
How to PostPower Point Presentations
Drupal user guide Evashni Jansen Web Office.
4.00 Apply procedures to add content by using Dreamweaver. (22%)
Presentation transcript:

Images: HTML and CSS

The Bells page without images in Source View and Design View

Add code for a background image to the body’s style The attribute is background-image and the value is the name of the image file inside parentheses and after “url” (uniform resource location).

4 Embedded versus referred to When one inserts an image in a Word document, the image is embedded into the Word document. As a result if you want someone to view the document, you only need to send one file – the Word document. When one inserts an image in an HTML document, the image is referred to by the HTML document. As a result if you want someone to view the document, you must send two files – the HTML document and the image file.

5 Relative versus Absolute Path When the HTML document refers to the image file, it provides a path so that the image file can be located. – A file’s path may be absolute (a complete (full) path or an explicit, full URL, e.g. or relative (a shorter path that starts with the same location as the file doing the referring). Image files are generally referred to by a relative address. – Because the URL attribute value used before did not include “ it is a relative address. – Because there was no reference to a folder, it means that the image file is in the same folder as the HTML file.

Folders above and below. Code like background-image: url(images/PoeBack.jpg); implies that there is a folder named images at the same level as the HTML file and that folder contains an image file named PoeBack.gif Code like background-image: url(../PoeBack.jpg); implies that the HTML file is in a subfolder that is in another folder and that the higher-level folder contains an image file named PoeBack.gif

Portability issue Typically one does not develop web pages on the web server (the computer that will make the page available to users). Thus there should be no explicit reference to the file structure of the computer on which the page was developed. That is, code like url(file:///var/images/image1.jpg) is bad

Go to View/Toolbox if you don’t already have the toolbox. Expand the HTML toolbox.

Go to View/Property Window if you don’t already have a Property Window

Result of dragging from the image icon in the toolbox to the top of the body

Click in the region next to source in the Properties Window and then on the button

Find the desired image file using the dialog box. Then click OK.

Provide some alternate text in the alt attribute.

W3schools on the alt attribute

Result in Design View after adding image

Result in Firefox after adding image

Add some image styling – in particular its position and width

W3schools on position

Result in Firefox after positioning the image

Add a border to image’s style

Result in Firefox after giving the image a border

Style the first letter of the text in each area

Result in Firefox after styling the first letter in