Skill Area 323: Design and Develop Website. Multimedia and Web Design (MWD)

Similar documents
HTML Images - The <img> Tag and the Src Attribute

Introduction to WEB PROGRAMMING

CSS: The Basics CISC 282 September 20, 2014

CS134 Web Site Design & Development. Quiz1

CSS: Cascading Style Sheets

ITNP43: HTML Lecture 4

HTML TIPS FOR DESIGNING.

HTML Text Formatting. HTML Session 2 2

Table of Contents Chapter 9. Working with Cascading Style Sheets ... 1

Attributes & Images 1 Create a new webpage

Using Dreamweaver CS6

COMS 359: Interactive Media

('cre Learning that works for Utah STRANDS AND STANDARDS WEB DEVELOPMENT 1

Assignments (4) Assessment as per Schedule (2)

Page Layout Using Tables

With HTML you can create your own Web site. This tutorial teaches you everything about HTML.

What is CSS? NAME: INSERT OPENING GRAPHIC HERE:

Styles, Style Sheets, the Box Model and Liquid Layout

CMPT 165 Unit 2 Markup Part 2

Introduction to using HTML to design webpages

AGENDA :: MULTIMEDIA TOOLS :: CLASS NOTES

8/19/2018. Web Development & Design Foundations with HTML5. Learning Objectives (1 of 2) More on Relative Linking. Learning Objectives (2 of 2)

CSS how to display to solve a problem External Style Sheets CSS files

Web Design and Development ACS-1809

The internet is a worldwide collection of networks that link millions of computers. These links allow the computers to share and send data.

CREATING A WEBSITE USING CSS. Mrs. Procopio CTEC6 MYP1

HTML Hyperlinks (Links)

HTML Summary. All of the following are containers. Structure. Italics Bold. Line Break. Horizontal Rule. Non-break (hard) space.

CSS is applied to an existing HTML web document--both working in tandem to display web pages.

Introduction to web development and HTML MGMT 230 LAB

In the early days of the Web, designers just had the original 91 HTML tags to work with.

Make a Website. A complex guide to building a website through continuing the fundamentals of HTML & CSS. Created by Michael Parekh 1

Html basics Course Outline

Introduction to Cascading Style Sheet (CSS)

Chapter 1 Self Test. LATIHAN BAB 1. tjetjeprb{at}gmail{dot}com. webdesign/favorites.html :// / / / that houses that information. structure?

CST272 ASP.NET Style Sheets Page 1

Index. alt, 38, 57 class, 86, 88, 101, 107 href, 24, 51, 57 id, 86 88, 98 overview, 37. src, 37, 57. backend, WordPress, 146, 148

Before you begin, make sure you have the images for these exercises saved in the location where you intend to create the Nuklear Family Website.

Chapter 1 Introduction to Dreamweaver CS3 1. About Dreamweaver CS3 Interface...4. Creating New Webpages...10

WEBSITE PROJECT 2 PURPOSE: INSTRUCTIONS: REQUIREMENTS:

HTML. Mohammed Alhessi M.Sc. Geomatics Engineering. Internet GIS Technologies كلية اآلداب - قسم الجغرافيا نظم المعلومات الجغرافية

ADOBE 9A Adobe Dreamweaver CS4 ACE.

Welcome Please sit on alternating rows. powered by lucid & no.dots.nl/student

UNIT 3 SECTION 1 Answer the following questions Q.1: What is an editor? editor editor Q.2: What do you understand by a web browser?

[AVWSQ-ADWCS6]: WSQ ICDL Adobe Dreamweaver CS6

Blackboard staff how to guide Accessible Course Design

Lab Introduction to Cascading Style Sheets

Using Dreamweaver CC. Logo. 4 Creating a Template. Page Heading. Page content in this area. About Us Gallery Ordering Contact Us Links

Designing for Web Using Markup Language and Style Sheets

AGENDA :: MULTIMEDIA TOOLS :: (1382) :: CLASS NOTES

Chapter 3 Style Sheets: CSS

Scripting for Multimedia LECTURE 5: INTRODUCING CSS3

HTML + CSS. ScottyLabs WDW. Overview HTML Tags CSS Properties Resources

As we design and build out our HTML pages, there are some basics that we may follow for each page, site, and application.

Introduction to HTML & CSS. Instructor: Beck Johnson Week 2

Using CSS in Web Site Design

CS 1100: Web Development: Client Side Coding / Fall 2016 Lab 2: More HTML and CSS

Website Development (WEB) Lab Exercises

Session 3.1 Objectives Review the history and concepts of CSS Explore inline styles, embedded styles, and external style sheets Understand style

CIS 1350 Final Project Part 1 of 4

COMS 359: Interactive Media

CSS Cascading Style Sheets


HTML and CSS: An Introduction

MRK260. Week Two. Graphic and Web Design

HTML, CSS. Kristóf Kovács, Róbert Pálovics, Ferenc Wettl Kristóf Kovács, Róbert Pálovics, Ferenc Wettl HTML, CSS / 28

Using Dreamweaver CS6

The University of Hawaii at Manoa Library Webpage Content/Design/Style Guidelines General Site Design... 2

Methods for configuring Cascading Style Sheets. Applying style to element name selectors. Style Rule Basics. CMPT 165: Cascading Style Sheets

Web Programming HTML CSS JavaScript Step by step Exercises Hans-Petter Halvorsen

HTTP & Websites. Web Browsers. Web Servers vs. Web sites. World Wide Web. Internet Explorer. Surfing the World Wide Web. Part 4. The World Wide Web


WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5

Hyper Text Markup Language HTML: A Tutorial

Web Programming and Design. MPT Junior Cycle Tutor: Tamara Demonstrators: Aaron, Marion, Hugh

AGENDA. HTML CODING YOUR HOMEPAGE [ Part IV ] :: NAVIGATION <nav> :: CSS CODING FOR HOMEPAGE [ <nav> & child elements ] CLASS :: 13.

CE419 Web Programming. Session 3: HTML (contd.), CSS

* HTML BASICS * LINKING BY: RIHAM ALSMARI, PNU. Lab 2

.hedgehog { background-image: url(backyard.jpg); color: #ffff99; height: 6in; width: 12in; } .tube {

1. The basic building block of an HTML document is called a(n) a. tag. b. element. c. attribute. d. container. Answer: b Page 5

Session 4. Style Sheets (CSS) Reading & References. A reference containing tables of CSS properties

Using Dreamweaver CC. 6 Styles in Websites. Exercise 1 Linked Styles vs Embedded Styles

Mobile MOUSe WEB SITE DESIGN ONLINE COURSE OUTLINE

HTMLnotesS15.notebook. January 25, 2015

Cascading style sheets, HTML, DOM and Javascript

About the Tutorial. Dreamweaver MX overview

HTML, CSS, JavaScript

Web Design 101. What is HTML? HTML Tags. Web Browsers. <!DOCTYPE html> <html> <body> <h1>my First Heading</h1> <p>my first paragraph.

Creating and Publishing Faculty Webpages

GIMP WEB 2.0 MENUS. Web 2.0 Menus: Horizontal Navigation Bar. Hover Effect:

Learning DreamWeaver MX 2004

COMP519 Web Programming Autumn Cascading Style Sheets

1/6/ :28 AM Approved New Course (First Version) CS 50A Course Outline as of Fall 2014

WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5

GIMP WEB 2.0 MENUS. Web 2.0 Menus: Horizontal Navigation Bar with Dynamic Background Image

ADDING CSS TO YOUR HTML DOCUMENT. A FEW CSS VALUES (colour, size and the box model)

Objective % Select and utilize tools to design and develop websites.

Navigation. Websites need a formalized system of links to allow users to navigate the site

CMPT 165 INTRODUCTION TO THE INTERNET AND THE WORLD WIDE WEB

Positioning in CSS: There are 5 different ways we can set our position:

Transcription:

Skill Area 323: Design and Develop Website Multimedia and Web Design (MWD)

323.4 Use graphics and objects on Web Page (7 hrs) 323.4.1 Insert foreground features 323.4.2 Modify image attributes 323.4.3 Create Layout with background image 323.4.4 Change background colour of a web page 323.4.5 Insert Different objects on a web page

HTML Images In HTML, images are defined with the <img> 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. Syntax for defining an image: <img src="url" alt="some_text"/>

HTML Images (cont) Images may be used on web pages in several ways: As a simple image: an image can be used on a web page as it is used in print, as a static image that adds information, such as company logo or an illustration As a link: an image can be used as a link to another document by placing it in the anchor element.

HTML Images (cont) As an imagemap: an imagemap is a single image that contains multiple links ( hotspots ) that link to other documents

Insert Images & Image as Links You can easily insert pictures located in other folders, or even pictures that are located on other websites: Example: <img src="images/logo.png" /> Example: <img src="http://www.html.net/logo.png" />

Images as Links Images can be links: Example: <a href="http://www.html.net"> <img src="logo.png" /></a>

Alternative Attribute The alt attribute is used to give an alternate description of an image if, for some reason, the image is not shown for the user. This is especially important for users with impaired vision, or if the page is loaded very slowly. Therefore, always use the alt attribute: Example 5: <img src="logo.gif" alt="html.net logo" />

Set Height and Width of an Image 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: <img src="pulpit.jpg" alt="pulpit rock" width="304" height="228" /> Tip: It is a good practice to specify both the height and width attributes for an image. If these attributes are set, the space required for the image is reserved when the page is loaded. However, without these attributes, the browser does not know the size of the image. The effect will be that the page layout will change during loading (while the images load).

HTML Image Tags Tag <img /> <map> <area /> Description Defines an image Defines an image-map Defines a clickable area inside an imagemap

E X E R C I S E

What is CSS? CSS is an acronym for Cascading Style Sheets. CSS is a style language that defines layout of HTML documents. CSS covers fonts, colours, margins, lines, height, width, background images, advanced positions and many other things.

What is CSS? (cont) HTML can be used to add layout to websites. But CSS offers more options and is more accurate and sophisticated. CSS is supported by all browsers today. CSS also helps to create a more consistent look for your website design throughout.

HTML vs CSS HTML is used to structure content. CSS is used for formatting structured content.

Advantages of CSS Control layout of many documents from one single style sheet (just one!) More precise control of layout Apply different layout to different media-types (screen, print, etc.) Numerous advanced and sophisticated techniques

Basic CSS syntax Let's say we want a nice red color as the background of a webpage: <body bgcolor="#ff0000"> Using HTML we could have done it like this: body {background-color: #FF0000;} With CSS the same result can be achieved like this:

Basic CSS Syntax Sample

Applying CSS to a HTML Document There are three ways you can apply CSS to an HTML document: 1. Inline method 2. Internal method 3. External Method

Applying CSS to a HTML Document (cont) Method 1: In-line (the attribute style) One way to apply CSS to HTML is by using the HTML attribute style. Building on the above example with the red background color, it can be applied like this: <html> <head> <title>example</title> </head> <body style="background-color: #FF0000;"> <p>this is a red page</p> </body> </html>

Inline Method Tag Final Result

Applying CSS to a HTML Document (cont) Method 2: Internal (the tag style) Another way is to include the CSS codes using the HTML tag <style>. For example like this: <html> <head> <title>example</title> <style type="text/css"> body {background-color: #FF0000;} </style> </head> <body> </body> </html> <p>this is a red page</p>

Applying CSS to a HTML Document (cont) Method 3: External (link to a style sheet) The recommended method is to link to a so-called external style sheet. An external style sheet is simply a text file with the extension.css. Like any other file, you can place the style sheet on your web server or hard disk.

Applying CSS to a HTML Document (cont) For example, let's say that your style sheet is named style.css and is located in a folder named style. The situation can be illustrated like this:

Applying CSS to a HTML Document (cont) To create a link from the HTML document (default.htm) to the style sheet (style.css). Such link can be created with one line of HTML code: <link rel="stylesheet" type="text/css" href="style/style.css" /> Notice how the path to our style sheet is indicated using the attribute href. The line of code must be inserted in the header section of the HTML code i.e. between the <head> and </head> tags. Like this: <html> <head> <title>my document</title> <link rel="stylesheet" type="text/css" href="style/style.css" /> </head> <body>

Hexadecimal Color Palettes The W3C HTML 4.01 specification defines 16 named colours:

E X E R C I S E

Extra Information Other CSS styles and format is available in.pdf format. CSS_tips_lessons.pdf

Dreamweaver Activity Insert foreground features Modify image attributes Create background color of a web Insert objects on a web page

References http://www.w3schools.com/html/html_images. asp http://www.html.net/tutorials/html/lesson9.ph p http://www.html.net/tutorials/css/lesson1.php http://www.html.net/tutorials/css/lesson2.php