tailieunhanh - Web engineering: Lecture 11, 12 - Majid Mumtaz

In this lecture will introduce Cascading Style Sheet (CSS). After completing this lecture, students will be able to: What is CSS? Styles solved a big problem, CSS saves a lot of work, CSS syntax, CSS example,. Inviting you to refer. | Web Engineering Lecture 11-12 MAJID MUMTAZ Department of Computer Science CIIT Wah 1 CSS - Cascading Style Sheet What is CSS CSS stands for Cascading Style Sheets Styles define how to display HTML elements Styles were added to HTML to solve a problem External Style Sheets can save a lot of work External Style Sheets are stored in CSS files 2 Styles Solved a Big Problem HTML was never intended to contain tags for formatting a document. HTML was intended to define the content of a document like h1 This is a heading h1 p This is a paragraph. p When tags like font and color attributes were added to the HTML specification it started a nightmare for web developers. Development of large web sites where fonts and color information were added to every single page became a long and expensive process. To solve this problem the World Wide Web Consortium W3C created CSS. In HTML all formatting could be removed from the HTML document and stored in a separate CSS file. All browsers support CSS today.

crossorigin="anonymous">
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.