1 / 30

Introduction to css ppt presentation

CSS training in Nagpur is part of Web Designing training course class.<br> CSS is short for cascading style sheets.Cascading Style Sheets is a style sheet language<br> used for describing the presentation of a document written in a markup language like HTML.<br> CSS is designed to enable the separation of presentation and content, including layout, colors, and fonts.<br> It allows one to adapt the presentation to different types of devices, such as large screens, small screens, or printers. <br> Nagpur provides real-time and placement focused css training in nagpur.<br><br>

Télécharger la présentation

Introduction to css ppt presentation

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. WHAT IS CSS PSK TECHNOLOGIES PVT.LTD. IT COMPANY https://www.pskitservices.com Contact: 9975288300

  2. WHAT IS CSS CSS stands for Cascading Style Sheets. 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. External style sheets are stored in CSS files. https://www.pskitservices.com contact: 9975288300

  3. WHY USE CSS? CSS is used to define styles for your web pages, including the design, layout and variations in display for different devices and screen sizes.  https://www.pskitservices.com contact: 9975288300

  4. CSS SOLVED A BIG PROBLEM • CSS is used to define styles for your web pages, including the design, layout and variations in display for different devices and screen sizes.  • HTML was NEVER intended to contain tags for formatting a web page! • HTML was created to describe the content of a web page, like: <h1>This is a heading</h1> <p>This is a paragraph</p> https://www.pskitservices.com contact: 9975288300

  5. When tags like <font>, and color attributes were added to the HTML 3.2 specification, it started a nightmare for web developers. Development of large websites, 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 CSS removed the style formatting from the HTML page! https://www.pskitservices.com contact: 9975288300

  6. CSS SYNTAX A CSS rule-set consists of a selector and a declaration block: Selector points to the HTML element you want to style. https://www.pskitservices.com contact: 9975288300

  7. The declaration block contains one or more declarations separated by semicolon. Each declaration includes a CSS property name and a value, separated by a colon. A CSS declaration always ends with a semicolon, and declaration blocks are surrounded by curly braces. https://www.pskitservices.com contact: 9975288300

  8. 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. https://www.pskitservices.com contact: 9975288300 https://www.pskitservices.com contact: 9975288300

  9. THE CLASS SELECTOR • The class selects elements with a specific class attribute. • To select elements with a specific class, write a period (.) character, followed by the name of the class. • In the example below, all HTML elements with class="center" will be red and center-aligned: https://www.pskitservices.com contact: 9975288300

  10. THREE WAYS TO INSERT CSS There are three ways of inserting a style sheet: • External style sheet • Internal style sheet • Inline style https://www.pskitservices.com contact: 9975288300

  11. EXTERNAL STYLE SHEETS • With an external style sheet, you can change the look of an entire website by changing just one file! • Each page must include a reference to the external style sheet file inside the <link> element. • The <link> element goes inside the <head> section: https://www.pskitservices.com contact: 9975288300

  12. BORDER STYLE The border style property specifies what kind of border to display. The following values are allowed: • Dotted - Defines dotted border • dashed - Defines a dashed border • solid - Defines a solid border • double - Defines a double border • groove - Defines a 3D grooved border. The effect depends on the border-color value https://www.pskitservices.com contact: 9975288300

  13. ridge - Defines a 3D ridged border. The effect depends on the border-color value inset - Defines a 3D inset border. The effect depends on the border-color value outset - Defines a 3D outset border. The effect depends on the border-color value none - Defines no border hidden - Defines a hidden border The border-style property can have from one to four values (for the top border, right border, bottom border, and the left border) https://www.pskitservices.com contact: 9975288300

  14. EXAMPLE– p. dotted {border-style: dotted;} p.dashed {border-style: dashed;} p.solid {border-style: solid;} p.double {border-style: double;} p.groove {border-style: groove;} p.ridge {border-style: ridge;} p.inset {border-style: inset;} p.outset {border-style: outset;} p.none {border-style: none;} p.hidden {border-style: hidden;} p.mix {border-style: dotted dashed solid double;} https://www.pskitservices.com contact: 9975288300

  15. RESULT: A Dotted border A Dashed border A Solid border A Double border A Groove border. The effect depend on the border color value. A Ridge border. The effect depend on the border color value. An inset border. The effect depend on the border color value. An outset border. The effect depend on the border color value. No border Hidden border Mix border https://www.pskitservices.com contact: 9975288300

  16. MARGIN - INDIVIDUAL SIDES CSS has properties for specifying the margin for each side of an element: • margin-top • margin-right • margin-bottom • margin-left https://www.pskitservices.com contact: 9975288300

  17. All the margin properties can have the following values: auto - the browser calculates the margin length - specifies a margin in px, pt, cm, etc. % - specifies a margin in % of the width of inherit - specifies that the margin should be inherited from the parent element https://www.pskitservices.com contact: 9975288300

  18. MARGIN - SHORTHAND PROPERTY To shorten the code, it is possible to specify all the margin properties in one property The margin property is a shorthand property for the following individual margin properties: • Margin-top • Margin-right • Margin-bottom • Margin-left https://www.pskitservices.com contact: 9975288300

  19. So, here is how it works: If the margin property has four values: Margin: 25px 50px 75px 100px; • Top margin is 25px • Right margin is 50px • Bottom margin is 75px • Left margin is 100px https://www.pskitservices.com contact: 9975288300

  20. If the margin property has three values: Margin: 25px 50px 75px; • Top margin is 25px • Right and left margins are 50px • Bottom margin is 75px https://www.pskitservices.com contact: 9975288300

  21. PADDING - SHORTHAND PROPERTY To shorten the code, it is possible to specify all the padding properties in one property. The padding property is a shorthand property for the following individual padding properties: • Padding-top • Padding-right • Padding-bottom • Padding-left So, here is how it works: https://www.pskitservices.com /contact: 9975288300

  22. If the padding property has four values: • padding: 25px 50px 75px 100px; • Top padding is 25px • Right padding is 50px • Bottom padding is 75px • Left padding is 100px https://www.pskitservices.com contact: 9975288300

  23. STYLING LINKS Links can be styled with any CSS property (e.g. color, font-family,background, etc.) In addition, links can be styled differently depending on what state they are in. The four links states are: • a:link - a normal, unvisited link • a:visited - a link the user has visited • a:hover - a link when the user mouses over it • a:active - a link the moment it is clicked https://www.pskitservices.com contact: 9975288300

  24. OUR SOFTWARE COURCES https://www.pskitservices.com contact: 9975288300

  25. OUR HARDWARE COURCES MCITP NETWORKING HARDWARE CCNA LINUX CCNP https://www.pskitservices.com contact: 9975288300

  26. OUR SERVICES WEBSITE DESIGNING & DEVELOPMENT https://www.pskitservices.com contact: 9975288300

  27. IT TRAINING https://www.pskitservices.com contact: 9975288300

  28. DIGITAL MARKETING https://www.pskitservices.com contact: 9975288300

  29. LAPTOP SALES AND SERVICES https://www.pskitservices.com contact: 9975288300

  30. PSK TECHNOLOGIES PVT. LTD. IT COMPANY FOLLOW US ON: Address: Plot no-780, Near Durga Temple, Katol Road Chhaoni, Nagpur-13 https:/www.pskitservices.com Contact: 9975288300

More Related