What is Cascading Style Sheets?

Asked By 10 points N/A Posted on -
qa-featured

Good morning experts!

I have been doing html and PHP programmer for not that long already.

There was this another code called CSS.

Could anybody tell me what does CSS means and what makes it different from html and PHP?

Thanks.

SHARE
Best Answer by simmi narang
Answered By 0 points N/A #100559

What is Cascading Style Sheets?

qa-featured

CSS or Cascading Style Sheets is a style language that identify the HTML layout. Considering HTML, it is utilizes to create structural languages content. CSS is used to format this type of content. CSS hides the fonts, colors, margins, lines, height, width, background images, advanced positions and more.

While PHP language is used to improve an active content on a site. When using PHP, we can improve the Content Management System, User Management System, Feedback System and more. However, using CSS can only fix the page setup.

 

Best Answer
Best Answer
Answered By 0 points N/A #100560

What is Cascading Style Sheets?

qa-featured

Cascading Style Sheet or CSS is simple mechanism for adding styles to your web document. Styles defines how to display HTML element. CSS contain three kind of stylesheets

1. Internal style sheet –  An internal style sheet should be used when a single document has a unique style. You define internal styles in the head section of an HTML page, by using the <style> tag. Example:

<head>
<style type="text/css">
hr {color:blue;}
</style>
</head>

2. Inline Style Sheet – To use inline styles you use the style attribute in the relevant tag. The style attribute can contain any CSS property. Example:

<p style="color:green;">This is a paragraph.</p>

3.  External Stylesheet-It allows you to change layout or appearance of all page in website,just by editing single file. this file have extension .css  . Each page must link to the style sheet using the <link> tag. The <link> tag goes inside the head section:

<head>
<link rel="stylesheet" type="text/css" href="stylesheet_Link.css" />
</head>

Related Questions