What is CSS.

Slides:



Advertisements
Similar presentations
HTML Introduction CS 1020 – Lego Robot Design. Building Websites HTML (HyperText Markup Language)  The dominate language of the internet  Describes.
Advertisements

HTML and CSS. HTML Hyper Text Markup Language Tells browser how to display text and images.
/k/k 1212 Cascading Style Sheets Part one Marko Boon
Very quick intro HTML and CSS. Sample html A Web Title.
Cascading Style Sheets. CSS stands for Cascading Style Sheets and is a simple styling language which allows attaching style to HTML elements. CSS is a.
Cascading Style Sheets By: Valerie Kuna. What are Cascading Style Sheets? Cascading Style Sheets (CSS) are a standard for specifying the presentation.
กระบวนวิชา CSS. What is CSS? CSS stands for Cascading Style Sheets Styles define how to display HTML elements Styles were added to HTML 4.0 to.
CSS normally control the html elements. Three Ways to Insert CSS There are three ways of inserting a style sheet: External style sheet Internal style.
Prepared by ackoo Styli n g your page (font type, font size, colors, text decoration, alignment, set margin, table padding, etc.) References: W3Schools.
 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.
Introduction to CS520/CS596_026 Lecture One Gordon Tian Fall 2015.
CSS My favourite ICT lesson By Federico Boschi Cascading Style Sheets.
Cascading Style Sheets Part 1. CSS vs HTML HTML: Originally intended to markup structure of a document (,...,,,,,...) CSS Developing technology, CSS1,
Lesson 03 // Cascading Style Sheets. CSS Stands for Cascading Style Sheets. We’ll be using a combination of Html and CSS to create websites. CSS is a.
CSS Tutorial 1 Introduction Syntax How to use style specifications. Styles.
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.
Chapter 1: Intro to HTML Section 1: HTML Structure Presentation Section 2: Layout of an HTML File Section 3: Working with Lists & Tables Section 4: HTML.
Introduction to CS520/CS596_026 Lecture One Gordon Tian Fall 2015.
1 Cascading Style Sheets
Lab 3 Html basics.
WebD Introduction to CSS By Manik Rastogi.
Fall 2016 CSULA Saloni Chacha
Introduction and HTML overview
IS1500: Introduction to Web Development
Cascading Style Sheet.
INTRO TO WEB DEVELOPMENT html
Web Basics: HTML/CSS/JavaScript What are they?
HTML basics
Web Development Part 1.
CS3220 Web and Internet Programming CSS Basics
4.01 Cascading Style Sheets
( Cascading style sheet )
HyperText Markup Language
UNIT-II CSS.
More advanced HTML and CSS
Mansoor Ahmed Bughio.
HTML Lab 5 10/1/2015.
Cao Yuewen SEEM4570 Tutorial 03: CSS Cao Yuewen
Lecture 9. Cascading Style Sheets
CSS.
Web Developer & Design Foundations with XHTML
Cascading Style Sheets
Cascading Style Sheets (Layout)
Intro to CSS CS 1150 Fall 2016.
Internet & Web Engineering Course Code:CS-228 Credit Hours (3+1) Lab 1 Introduction to Markup Language HTML Instructor: Muhammad Zeeshan Haider.
Introduction to web design discussing which languages is used for website designing
Bootstrap響應式網頁設計 (Responsive Web Design, RWD)
Chapter 7 Page Layout Basics Key Concepts
Cascading Style Sheets
COMP 101 Review.
2017, Fall Pusan National University Ki-Joune Li
Intro to CSS CS 1150 Spring 2017.
Cascading Style Sheets
Software Engineering for Internet Applications
Basic HTML and Embed Codes
Nov. 1, 2018 Drop-down menu.
Pertemuan 1b
Chapter 2 HTML & CSS.
CS3220 Web and Internet Programming CSS Basics
USING IMAGES This is the bottom of the page. Note the alignment of having text before and after, at the top, in the middle and at the bottom. Code is on.
Cascading Style Sheet.
Pertemuan 1 Desain web Pertemuan 1
HTML LINKS
Johan Ng and Muhammad Hazzry
Images in HTML PowerPoint How images are used in HTML
4.01 Cascading Style Sheets
Web Client Side Technologies Raneem Qaddoura
Creating your website and learning HTML
Web Programming and Design
Kanida Sinmai CSS – Cascading Style Sheets Kanida Sinmai
Presentation transcript:

What is CSS

Cascading Style Sheets (CSS) is a style sheet language used for describing the presentation of a document written in a markup language.

What is CSS? Principles of Styling with CSS | HTML 101 https://www.youtube.com/watch?v=rIhqDtyqDwY

CSS Examples Hello World! Smaller heading! This is a paragraph.

Make a css-1.html <!DOCTYPE html> <html> <head> <style> h1, h2, p { text-align: center; color: red; } </style> </head> <body> <h1>Hello World!</h1> <h2>Smaller heading!</h2> <p>This is a paragraph.</p> </body> </html>

<!DOCTYPE html> <html> <head> <style> h1, h2, p { text-align: center; color: red; }

</style> </head> <body> <h1>Hello World!</h1> <h2>Smaller heading!</h2> <p>This is a paragraph.</p> </body> </html>

CSS Examples http://bus2226w16.com/stuhtml/3207/responsive-image.html

<!DOCTYPE html> <html> <head> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <style> img { width: 100%; height: auto; } </style> </head> <body> <p>Resize the browser window to see how the image will scale.</p> <img src="http://bus2226w16.com/stuhtml/3207/image/night2.jpg" width="460" height="345"> </body> </html>

<!DOCTYPE html> <html> <head> <style> img { <meta name="viewport" content="width=device-width, initial-scale=1.0"> <style> img { width: 100%; height: auto; }

</style> </head> <body> <p>Resize the browser window to see how the image will scale.</p> <img src="http://bus2226w16.com/stuhtml/3207/image/night2.jpg" width="460" height="345"> </body> </html>

Upload your responsive-image.html

CSS Links 1 Make a bu1.html <!DOCTYPE html> <html> <head> <style> a { color: hotpink; } </style> </head> <body> <p><b><a href=“#" target="_blank">This is a link</a></b></p> </body> </html> Make a bu1.html

<!DOCTYPE html> <html> <head> <style> a { color: hotpink; }

</style> </head> <body> </body> </html> <p><b><a href=“#" target="_blank">This is a link</a></b></p> </body> </html>

Upload your bu1.html

CSS Links 2 Make a bu2.html <!DOCTYPE html> <html> <head> <style> a:link, a:visited { background-color: #f44336; color: white; padding: 14px 25px; text-align: center; text-decoration: none; display: inline-block; } a:hover, a:active { background-color: red; </style> </head> <body> <a href=“#" target="_blank">This is a link</a> </body> </html>

<!DOCTYPE html> <html> <head> <style> a:link, a:visited { background-color: #f44336; color: white; padding: 14px 25px; text-align: center; text-decoration: none; display: inline-block; }

a:hover, a:active { background-color: red; } </style> </head> <body> <a href=“#" target="_blank">This is a link</a> </body> </html>

Upload your bu2.html