filmov
tv
Web Engineering Lecture No 6- CS202 Short Lectures (Introduction to CSS Practice)

Показать описание
We discussed in previous lectures of Front Development that Layout, presentation and organization of a webpage can be controlled by CSS.
CSS is a stylesheet language that describes the presentation of an HTML document.
CSS describes how elements must be rendered on screen, on paper, or in other media.
CSS describes how HTML elements are to be displayed on screen, paper, or in other media
CSS saves a lot of work. It can control the layout of multiple web pages all at once
To solve this problem, the World Wide Web Consortium (W3C) created CSS.
CSS removed the style formatting from the HTML page!
CSS Saves a Lot of Work!
The style definitions are normally saved in external .css files.
With an external stylesheet file, you can change the look of an entire website by changing just one file!
The Element selector : based on tag-name e.g h1,p,div etc
The ID Selector
The ID selector uses the id attribute of an HTML element to select a specific element.
The ID of an element should be unique within a page, so the ID selector is used to select one unique element!
To select an element with a specific id, write a hash (#) character, followed by the ID of the element.
The style rule below will be applied to the HTML element with id="para1“:Example #vushortlectures
CSS is a stylesheet language that describes the presentation of an HTML document.
CSS describes how elements must be rendered on screen, on paper, or in other media.
CSS describes how HTML elements are to be displayed on screen, paper, or in other media
CSS saves a lot of work. It can control the layout of multiple web pages all at once
To solve this problem, the World Wide Web Consortium (W3C) created CSS.
CSS removed the style formatting from the HTML page!
CSS Saves a Lot of Work!
The style definitions are normally saved in external .css files.
With an external stylesheet file, you can change the look of an entire website by changing just one file!
The Element selector : based on tag-name e.g h1,p,div etc
The ID Selector
The ID selector uses the id attribute of an HTML element to select a specific element.
The ID of an element should be unique within a page, so the ID selector is used to select one unique element!
To select an element with a specific id, write a hash (#) character, followed by the ID of the element.
The style rule below will be applied to the HTML element with id="para1“:Example #vushortlectures
Комментарии