HTML Concepts and Techniques Fourth Edition Project 8 Creating Style Sheets.

Slides:



Advertisements
Similar presentations
CSS The basics { }. CSS Cascading Style Sheets - language used to – describe html appearance & formatting Style Sheet - file that describes – how html.
Advertisements

Cascading Style Sheets
Introducing CSS CIS 133 mashup Javascript, jQuery and XML 1.
It’s All About Style The Basics of Style Sheets Presented by Barry Diehl.
Project 8 Creating Style Sheets.
Adding styles. Three alternatives HIT151 Web 'n' Net Web Page Basics /*stylesheet*/ h1,h2,h3 { font-family: verdana, arial, 'sans serif'; } p,table,li.
Chapter 8 Creating Style Sheets.
Cascading Style Sheets Understanding styles. The term cascading describe the capability of a local style to override a general style. CSS applies style.
Starting BBEdit (Notepad) and Opening an HTML File Open the Public Folder Start Notepad or BBEdit Click File on the menu bar, and then click Open In the.
Introduction to Cascading Style Sheets (CSS) Module 2: HTML Basics LESSON 4.
Beginning Web Site Creation: Dreamweaver CS4. XHTMLCSS  Describes the structure  Content  Collection of styles  Formatting body { background-color:
Chapter 7 Using Advanced Cascading Style Sheets HTML5 & CSS 7 th Edition.
Prepared by ackoo Styli n g your page (font type, font size, colors, text decoration, alignment, set margin, table padding, etc.) References: W3Schools.
Web Workshop: CSS Objectives: - “What is CSS?” - Structure of CSS - How to use CSS in your webpage.
CSE CASCADING STYLE SHEETS CSS Faculty of Computer Science and Engineering.
Cascading Style Sheets Scripting with Style. CSS versus HTML  Ways to format in HTML –HTML Tag extensions –Converting Text to images –Page Layout with.
Cascading Style Sheet (CSS) Instructor: Dr. Fang (Daisy) Tang
Selectors thru Borders. CSS – Cascading Style Sheets – is a way to style HTML HTML is the content base of a web page CSS provides the presentation qualities.
Kick It Up a Notch: Enhance your web page with Cascading Style Sheets Kathy Fletcher Manager, Training & Publications Support Services Office of Information.
HIGHER COMPUTING CSS. WHAT IS CSS? CSS: Cascaded Style Sheets used to separate a web site’s content(information) from its style(how it looks).
Adding an Inline Style Sheet Page without Inline Style Sheet Page with Inline Style Sheet.
Cascading Style Sheets CS3505. What are CSS? Method for adding style attributes consistently to HML tags Cascading because styles are applied in order.
HTML Concepts and Techniques Fourth Edition Project 8 Creating Style Sheets.
CSS Dvijesh Bhatt.
Dreamweaver -- CSS. Dreamweaver -- MX New icons are added in MX Most of the features commonly used in web design, and are same as FrontPage. New feature.
Tutorial #3 Cascading Style Sheets. Review: Last Class Image sizing Pathnames Project Default Path Relative Path Absolute Path Blackboard Homework Submission.
18 People Surveyed HTML (HyperText Markup Language) HTML “tags” Describes structure Building blocks Headings, paragraphs, lists, links, images, quotes,
 HTML stands for Hyper Text Mark-up Language. The coding language used to create documents for the World Wide Web  HTML is composed of tags. HTML tags.
I NTRO TO CSS IAT100 Spring I NTRO TO CSS Covered in this lesson: Overview What is CSS? Why to use CSS? CSS for Skinning your Website Structure.
CSS: Cascading Style Sheets. 2 What are Style Sheets A style sheet is a mechanism that allows to specify how HTML (/XHTML/XML) pages should look The style.
1 WDMD 170 – UW Stevens Point WDMD 170 Internet Languages eLesson: CSS Introduction to Style Sheets (NON-audio version) © Dr. David C. Gibbs
HTML, Third Edition--Illustrated Introductory 1 HTML, Third Edition Illustrated Introductory Unit E Formatting with Cascading Style Sheets.
Website Development & Management Working with Style Rules Instructor: John Seydel, Ph.D. CIT Fall
Lesson 2 Adding more content to your web page. Thanks to Richard Hudnutt, Luella HS.
Click to begin Click to begin Mr. Thomas CSS Multiple Multiple Choice Fill-In The Fill-In The Blank Fill-In The Fill-In The Blank 10 Points 20 Points.
Using Cascading Style Sheet As you create more web pages, you may wish to impose a consistent look for all of your web pages or for group of related pages.
CSS My favourite ICT lesson By Federico Boschi Cascading Style Sheets.
Just A Few More Fun Objectives 1 Having Some Fun With Java Script 2 Using Style Sheets.
Working with Cascading Style Sheets (CSS) Module 2: HTML Basics LESSON 5.
CO1552 – Web Application Development Cascading Style Sheets.
Tutorial #3 Cascading Style Sheets. Tutorial #2 Review - Anchors Links to Site DMACC Internal Links Go to Top Mail To me Local.
Cascading Style Sheets Class 2, Lecture 2 Rachel A Ober
ALBERT WAVERING BOBBY SENG. Week 2: HTML + CSS  Quiz  Announcements/questions/etc  Some functional HTML elements.
MySQL and PHP Review CSS. Cascading Style Sheet (CSS) Style sheets are files or forms that describe the layout and appearance of a document. Cascading.
Css. Definition Cascading style sheet (CSS)  It is a simple mechanism for adding style (e.g. fonts, colors, spacing) to Web documents.
Linking Frames. How to load frames For example you have the following frame: Left Links Main.
Creating Your Own Webpage COSC Cascading Stylesheets Think of: HTML: content of your webpage HTML has tags CSS: presentation and appearance of your.
DHTML. What is it? Dynamic HTML. Not a standard unlike HTML or Java It is a term applied by both Netscape and Microsoft to a collection of technologies.
Cascading Style Sheets
Lesson 15: Cascading Style Sheets. Objectives Identify ways to apply Web page formatting with Cascading Style Sheets (CSS1 and CSS2) using various methods.
Cascading Style Sheets (CSS). A style sheet is a document which describes the presentation semantics of a document written in a mark-up language such.
XP Review 2 New Perspectives on JavaScript, Comprehensive1 Introducing Cascading Style Sheets Formatting Web Pages with CSS.
1 Web Development CSS (Cascading Style Sheet). 2 1.Setting rules for multiple elements To decrease the amount of typing for setting rules for multiple.
Web Design (12) CSS Introduction. Cascading Style Sheets - Defined CSS is the W3C standard for defining the presentation of documents written in HTML.
5 th ed: Chapter 4 4 th ed: Chapter 5 SY306 Web and Databases for Cyber Operations Slide Set #4: CSS.
CSS Hadas Kahsay. Overview  What is CSS  Basic syntax of CSS Rules  How to link CSS style to html documents  Browsers and CSS  Advantages of CSS.
How to… Cascading Style Sheets. How to Insert a Style Sheet When a browser reads a style sheet, it will format the document according to it. There are.
Style Sheets. Coding Style Sheets  Style sheets use RULES to create the style  A selector (a tag or user-defined style name)  and then declarations.
Html Karl W Broman Department of Biostatistics Johns Hopkins University
CSS Cascading Style Sheets *referenced from
NASRULLAHIBA.  It is time to take your web designing skills to the next level with Cascading Style Sheets (CSS). They are a way to control the look and.
Basic Webpage Design Cascading Style Sheet (CSS).
LT: I can use CSS to decorate a web page. Do Now: Get your storyboard, and log in to winhome. Write our a list of colors you want in your website. (Minimum.
Blended HTML and CSS Fundamentals 3 rd EDITION Tutorial 3 Introducing Cascading Style Sheets.
Internet & World Wide Web How to Program, 5/e Copyright © Pearson, Inc All Rights Reserved.
HTML & CSS Contents: the different ways we can use to apply CSS to The HTML documents CSS Colors and Background CSS Fonts CSS Text CSS box model: padding,
CSS Introductions. Objectives To take control of the appearance of a Web site by creating style sheets. To use a style sheet to give all the pages of.
Madam Hazwani binti Rahmat
Project 8 Creating Style Sheets.
Presentation transcript:

HTML Concepts and Techniques Fourth Edition Project 8 Creating Style Sheets

Project 8: Creating Style Sheets 2 Project Objectives Describe the three different types of Cascading Style Sheets Understand how to define style classes

Project 8: Creating Style Sheets 3 Project Objectives Using an external style sheet –Create an external style sheet –Change the body margins and background –Change the link decoration and color –Change the font family and size for all paragraphs –Change table styles –Use the tag to insert a link

Project 8: Creating Style Sheets 4 Project Objectives Using an embedded style sheet –Change the margin and link styles using an embedded style sheet

Project 8: Creating Style Sheets 5 Project Objectives Add an inline style sheet to a Web page –Change the text style of a single paragraph using an inline style sheet

Project 8: Creating Style Sheets 6 Style Sheet Precedence

Project 8: Creating Style Sheets 7 Starting Notepad and Opening an menu.htm File Use the same menu.htm of project06 Before closing, add embedded style sheet

Project 8: Creating Style Sheets 8 Adding an Embedded Style Sheet (before <!— body {background-color: lightblue} p {text-indent: 20pt} a {text-decoration: none; font-family: Verdana, Garamond; font-size: 12pt; color: black} a:hover {background: black; color: whilte} -->

Project 8: Creating Style Sheets 9 Check by clicking framedef.htm

Project 8: Creating Style Sheets 10 Creating an External Style Sheet Create a file of “styles1.css”

Project 8: Creating Style Sheets 11 Creating an External Style Sheet p {text-indent: 20pt} a {text-decoration: none; color: black} p {font-family: verdana, Garamond; font-size: 11pt; border-color: black; border-style: double} th {background-color: #66CBFF; text-aligh: left} caption {font-size: 8pt; font-style: italic}

Project 8: Creating Style Sheets 12 Linking to an External Style Sheet Open an existing file with table – mySchedule.html

Project 8: Creating Style Sheets 13 Linking to an External Style Sheet It should come before After <!--Insert link statement here , Type as the tag Check the changes

Project 8: Creating Style Sheets 14 Adding an Inline Style Sheet Add an inline style sheet to mySchedule.html Change the style of tag Instead of Class schedule, Spring 2009 Replace with the following Class schedule, Spring 2009

Project 8: Creating Style Sheets 15 Adding an Inline Style Sheet Observe the “inline style sheet” override the “external style sheet” Check the same thing for the “embedded style sheet” at the “menu.htm” file Cross Hatch

HTML Concepts and Techniques Fourth Edition Project 8 Complete Creating Style Sheets