S.MD.FAROOQ M.Tech., [Ph.D] Assistant Professor Department of CSE Santhiram Engineering College.

Slides:



Advertisements
Similar presentations
Introduction to HTML & CSS
Advertisements

CSS. CSS stands for Cascading Style Sheets Styles define how to display HTML elements Styles were added to HTML 4.0 to solve a problem External Style.
Making Things Look Nice: Visual Appearance and CSS CMPT 281.
Cascading Style Sheets Understanding styles. The term cascading describe the capability of a local style to override a general style. CSS applies style.
Using Cascading Style Sheets CSS Basics. Goals Understand basic syntax of Cascading Style Sheets (CSS) Understand basic syntax of Cascading Style Sheets.
Outline IS400: Development of Business Applications on the Internet Fall 2004 Instructor: Dr. Boris Jukic CSS: Cascading Style Sheets.
LBSC 690: Session 6 CSS, XML/XSLT Jimmy Lin College of Information Studies University of Maryland Monday, October 15, 2007.
LBSC 690 Session #6 CSS, XML/XSLT Jimmy Lin The iSchool University of Maryland Wednesday, October 8, 2008 This work is licensed under a Creative Commons.
Using Cascading Style Sheets (CSS) Dept. of Computer Science and Computer Information CSCI N-100.
Understanding HTML Style Sheets. What is a style?  A style is a rule that defines the appearance and position of text and graphics. It may define the.
Cascading Style Sheets (CSS) Instructor: Mr. Ahmed Al Astal ITGD4104 Department Requirement for senior student University of Palestine Faculty of IT.
Cascading Style Sheets (CSS) 1.  What is CSS?  Why CSS?  How to write a CSS? 2.
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. Definition Cascading style sheet (CSS) Cascading Style Sheets (CSS) is a simple mechanism for adding style (e.g. fonts, colors, spacing) to Web documents.
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.
WRT235: Writing in Electronic Environments Basic CSS.
Cascade Style Sheet Introduction. What is CSS?  CSS stands for Cascading Style Sheets  Styles define how to display HTML elements  Styles were added.
Introduction to Cascading Style-sheets (CSS) Basharat Mahm ood, Department of Computer Science, CIIT,Islamabad, Pakistan 1.
Css. Definition Cascading style sheet (CSS)  It is a simple mechanism for adding style (e.g. fonts, colors, spacing) to Web documents.
Professor Waterman Cascading Style Sheets (CSS) is a language that works with HTML documents to define the way content is presented. The presentation.
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 CSS. Source W3Schools
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.
Jozef Goetz, STEM Summer Camp Dr. Jozef Goetz.
Introduction to CSS Brendan Knight. What is CSS Cascading Style Sheets (CSS) is a style sheet language used to describe the presentation semantics (the.
CSS Cascading Style Sheets A very brief introduction CSS, Cascading Style Sheets1.
1 Lecture 7 Style Sheets: CSS. 2 Motivation HTML markup can be used to represent –Semantics: h1 means that an element is a top-level heading –Presentation:
Department of Computer Science, Florida State University CGS 3066: Web Programming and Design Spring
Practice for Chapter 3: Assume that you are a freelance web designer and need to create a website to promote your freelance company.
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.
Web Design Terminology Unit 2 STEM. 1. Accessibility – a web page or site that address the users limitations or disabilities 2. Active server page (ASP)
IT Accessibility Committee Cascading Style Sheets Presented by Michael B. Short Prepared by The NYS Forum IT Accessibility Committee
1 Cascading Style Sheet (CSS). 2 Cascading Style Sheets (CSS)  a style defines the appearance of a document element. o E.g., font size, font color etc…
CASCADING STYLE SHEET CSS. CSS stands for Cascading Style Sheets Styles define how to display HTML elements Styles were added to HTML 4.0 to solve a problem.
Cascading Style Sheets Using HTML. What are they? A set of style rules that tell the web browser how to present a web page or document. In earlier versions.
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.
Internet & World Wide Web How to Program, 5/e 1. 2.
WEB FOUNDATIONS CSS Overview. Outline  What is CSS  What does it do  Where are styles stored  Why use them  What is the cascade effect  CSS Syntax.
CSS.
Cascading Style Sheets
CSS Cascading Style Sheets
Alabama Educational Technology Conference
CSS Nick Sims.
Web Basics: HTML/CSS/JavaScript What are they?
Objective % Select and utilize tools to design and develop websites.
Getting Started with CSS
4.01 Cascading Style Sheets
CSS: Cascading Style Sheets
Cascading Style Sheets
IS 360 Declaring CSS Styles
Madam Hazwani binti Rahmat
CX Introduction to Web Programming
Using Cascading Style Sheets Module B: CSS Structure
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.
INTRODUCTION TO HTML5.
Introduction to web design discussing which languages is used for website designing
CASCADING STYLE SHEET CSS.
Website Design 3
Intro to CSS CS 1150 Spring 2017.
Styles and the Box Model
Cascading Style Sheets
What are Cascading Stylesheets (CSS)?
Cascading Style Sheets™ (CSS)
Apply procedures to create cascading style sheets.
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.
4.01 Cascading Style Sheets
INTERNATIONAL INSTITUTE OF IFORMATION TECHNOLOGY, (I²IT)
Presentation transcript:

S.MD.FAROOQ M.Tech., [Ph.D] Assistant Professor Department of CSE Santhiram Engineering College

INTRODUCTION It allow web page designers to improve and change the appearance of their web pages very efficiently. Earlier days- presentation information within web pages. Incereases complexity A style sheet is a document that contains style information about one or more documents written in markup languages. It enables us to control rendering of styles such as fonts, color, size, spacing, margins etc. Cascading Style Sheet (CSS) is a style sheet language that specifies how to incorporate style information in a style sheet. The term Cascading indicates that several style sheets can be blended to present a document on browsers screen.

ADVANTAGES Primary intention- separate document presentation from document content written in markup languages. Document writers can concentrate on developing the content(HTML,XHTML,XML), without bothering about visual representation. Style sheet writers can think about the visual presentation of these documents without bothering about the content. The only thing we have to do is to use a separate style for different presentations. The same sheet can also be applied on different documents.-reduce time

Content StyleDocument Separation of Style from document

ADDING CSS There are four ways to specific style information in a document External Embeded Imported Inline External Style Sheet: Style information is written in separate file and is referenced from an HTML Dcoument. It is useful when the same style is applied on different documents. Example-One style sheet for an entire website External style sheets are cached by most of the browsers, so browsers have to download only documents-faster

If the document is HTML, ESS is specified using the HTML tag. Ex: This tag specifies that the style information to be used to display this document is stored in a file named mystyle.css External style sheets are of three types Persistent: one that is always applied Alternate: one of which is selected by the user depending on their choice Preferred: which is applied when no style sheet is selected Note: Current browsers do not support alternate style sheets

The attribute “rel” specifies the type of sheet used. Its value is “stylesheet” for persistent and preferred style sheets And “alternate stylesheet” for alternate style sheets. The optional attribute “title” is used to name a stylesheet.(Several alternate style sheets may be grouped under a single “title”) Persistent style sheet is specified by the absence of the title attribute whereas preferred and alternate stylesheets are specified by the presence of the title attribute. Ex:Preferred Style Sheet