MYSQL DATABASE MYSQL DATABASE MYSQL DATABASECSS.pptx
ArjayBalberan1
14 views
11 slides
May 06, 2024
Slide 1 of 11
1
2
3
4
5
6
7
8
9
10
11
About This Presentation
MYSQL DATABASE
Size: 1.74 MB
Language: en
Added: May 06, 2024
Slides: 11 pages
Slide Content
CSS
What is CSS CSS stands for Cascading Style Sheets. It is a style sheet language which is used to describe the look and formatting of a document written in markup language. CSS is used along with HTML and JavaScript in most websites to create user interfaces for web applications and user interfaces for many mobile applications. 7/1/20XX 2
What does CSS do? You can add new looks to your old HTML documents. You can completely change the look of your website with only a few changes in CSS code. 7/1/20XX 3
Why use CSS These are the three major benefits of CSS: 7/1/20XX 4 1) Solves a big problem 2) Saves a lot of time 3) Provide more attributes
CSS Syntax A CSS rule set contains a selector and a declaration block.
There are three types of CSS Inline CSS Internal or Embedded CSS External CSS
Inline CSS <!DOCTYPE html> < html > < head > < title >Inline CSS</ title > </ head > < body > < p style = "color:#009900; font-size:50px; font-style:italic ; text-align:center ;"> ComSci </ p > </ body > </ html >
I nternal or Embedded CSS <!DOCTYPE html> < html > < head > < title >Internal CSS</ title > < style > .main { text-align:center ; } .GFG { color:#009900; font-size:50px; font-weight:bold ; } .geeks { font-style:bold ; font-size:20px; } </ style > </ head > < body > < div class = "main" > < div class = "GFG" > GeeksForGeeks </ div > < div class = "geeks" > A computer science portal for geeks </ div > </ div > </ body > </ html >
Adding css in html <!DOCTYPE html> < html > < head > < link rel = "stylesheet" href = “oms.css" /> </ head > < body > < div class = "main" > < div class = “gg" > HEllo </ div > < div id = "geeks" > Aim High ComSci </ div > </ div > </ body > </ html >