Topic 03 : Introduction to CSS

67 %
33 %
Information about Topic 03 : Introduction to CSS
Education

Published on February 17, 2014

Author: PradipKharbuja

Source: slideshare.net

Generic structure selector { property1 : value; property2 : value; } A Simple CSS Rule h1{ color : red; font-size : 18px; }

h1{ color : red; font-size : 18px; } Save in a file named style.css <link href="style.css" rel="stylesheet" type="text/css"/> <link/> element that links to style.css

<style type="text/css"> h1 { color : green; font-size : 18px; } </style> </head> <body> <h1>Welcome to <em>Cascading Style Sheets</em></h1> <p>The purpose of this page is to demonstrate how <em>CSS</em> works.</p>

... <h1 style="color:blue; font-size:5px;">Welcome to <em>Cascading Style Sheets</em></h1> <p>The purpose of this page is to demonstrate how <em>CSS</em> works.</p> ...

h1, p { color:red; } *{ } text-align:right;

<body> <h1>Welcome to <em>Cascading Style Sheets</em></h1> <p>The purpose of this page is to demonstrate how <em>CSS</em> works.</p> </body> body{ color:blue; } h1{ color:red; }

<body> <h1>Welcome to <em>Cascading Style Sheets</em></h1> p em{ color:red; } <p>The purpose of this page is to demonstrate how <em>CSS</em> works.</p> </body>

–Margin, border and padding can be specified for particular sides of elements. – E.g. div { padding-top : 10px; }

Add a comment

Related presentations

Related pages

Topic 03 : Introduction to CSS - Education - docslide.us

Download Topic 03 : Introduction to CSS. Transcript. 1.Generic structure selector { property1 : value; property2 : value; }A Simple CSS Rule h1{ color : ...
Read more

Topic 03 : Introduction to CSS - Education - documents.mx

Share Topic 03 : Introduction to CSS. Embed size(px) start on. Link. Report Description. Text. 1.Generic structure selector { property1 : value; property2 ...
Read more

Topic 02 : Introduction to (X)HTML - Education

Topic 02 : Introduction to (X)HTML ...
Read more

Introduction to CSS – Part 1 – CSS Tutorial

Introduction to CSS Video Tutorial. An introduction to Cascading Style Sheets. CSS is the acronym for: ‘Cascading Style Sheets’.
Read more

Introduction to CSS - Education - documents.mx

Share Introduction to CSS.
Read more

Topic 03: Introduction to Object Orientation - Education

1. Topic 3 : Introduction to Object Orientation DDOOCP . 2. Terminologies › Encapsulation › Polymorphism › Inheritance › Method Overriding ...
Read more

CSS Tutorial for Beginners - 01 - Introduction to CSS ...

In this video we go over the basic structure of CSS. Check out my channel on Learning English: https://www.youtube.com/channel/UCqXo...
Read more

Introduction To Css | LinkedIn

View 715 Introduction To Css posts, presentations, experts, and more. Get the professional knowledge you need on LinkedIn.
Read more