This Slide provided an introduction to CSS or Cascading Style Sheets. What is CSS? How to write styles. What are External, internal and inline CSS styles? and lot more
CSS (Cascading Style Sheets) allows separation of document content from document presentation by defining styles. CSS can be defined internally, inline, or externally in CSS files. CSS rules have selectors and declarations, where properties and values are used to style elements. Common CSS properties control color, text formatting, background images and colors. Styles can be applied to HTML elements, classes, or IDs. When multiple conflicting styles are defined, styles are cascaded according to precedence rules with inline styles having the highest priority.
CSS (Cascading Style Sheets) is used to define styles for displaying HTML elements. CSS has different levels that add new features denoted as CSS1, CSS2, CSS3. CSS saves work by defining styles that can be applied across multiple web pages through external style sheets or internal/inline styles. CSS style rules contain selectors and declarations, with properties and values. CSS comments, id and class selectors, and multiple style sheets are also discussed in the document.
The document provides information about CSS (Cascading Style Sheets) including what CSS is, how it solves problems with HTML formatting, CSS syntax, and examples of using CSS for text formatting and backgrounds. CSS allows separation of document structure (HTML) from presentation (CSS). CSS defines how elements are displayed, and styles can be applied internally, externally, or inline. CSS follows cascading rules to determine which styles take precedence.
Cascading Style Sheets (CSS) is a style sheet language used to describe the presentation of HTML and XML documents. CSS separates document content from document presentation, enabling control over elements like layout, colors, and fonts. This separation improves accessibility, flexibility, and maintenance of web pages. CSS can format pages for different rendering methods like on-screen, in print, and for speech-based browsers.
This document provides an overview of various CSS topics including comments, colors, text formatting, positioning, and cross-browser compatibility. It explains concepts like using hexadecimal color codes, text properties like alignment and decoration, positioning elements with static, relative, absolute and fixed positioning, and strategies for aligning elements and dealing with browser inconsistencies.
Cascading Style Sheets (CSS) is a mechanism for adding style to HTML documents. CSS allows complete control over layout, design and formatting of web pages. CSS properties can be applied inline, internally via <style> tags, or externally via linked style sheets. CSS uses selectors to apply styles to HTML elements based on their id, class, type and other attributes. Declarations are made up of properties and values to specify styles.
A web designer creates presentations using coding languages like HTML and CSS that are delivered through browsers. They design the overall look and feel of a website and specify how pages are displayed. Web designers may work for companies, agencies, or freelance. They are responsible for graphics, layout, programming, and content. HTML is the basic language used to structure web pages using tags like <html> and <body>. CSS enhances HTML and is used to format text, backgrounds, borders, and more. CSS can be applied inline, with embedded stylesheets, or external linked stylesheets.
HTML is a markup language used to define the structure and layout of web pages. It uses tags like <h1> and <p> to mark headings and paragraphs. CSS is used to style and lay out HTML elements, using selectors, declarations, and properties to change things like colors and positioning. JavaScript can be added to HTML pages with <script> tags and is used to add interactive elements and dynamic behavior by manipulating HTML and responding to user input. It has data types like strings and numbers and control structures like if/else statements.
CSS (Cascading Style Sheets) allows separation of document content from page layout/presentation. CSS was introduced to make web page design and modification easier. CSS properties control elements like text formatting, page layout, and color/images. CSS rules cascade from broad to specific with author styles overriding browser defaults. Common selectors target elements by ID, class, tag name or relationship.
This document provides an 18 chapter tutorial on CSS (Cascading Style Sheets). It begins with introductory chapters on CSS syntax, classes, IDs, divisions, spans, margins, padding, and text properties. Later chapters cover font properties, anchors, links, backgrounds, borders, lists, positioning, and pseudo elements. Each chapter provides examples and explanations of the CSS concepts and properties covered. The document was created by Vijay Kumar Sharma and includes their contact information. It serves as a comprehensive guide to learning the fundamentals of CSS.
Presentation to WordPress Memphis meetup group on December 2, 2010, CSS Basics. By designer Irina McGuire.
http://www.irinamcguire.com
CSS (Cascading Style Sheets) allows separation of document content from document presentation and behavior. CSS handles the look and formatting of a document and is effective for maintaining a consistent appearance across multiple web pages. CSS declarations apply styles to HTML elements and are organized in a cascade by importance, origin, specificity, and source order to determine which styles get applied.
The document provides an introduction to CSS (Cascading Style Sheets), explaining what CSS is, how it works, and some basic syntax and concepts. CSS allows separation of document content from document presentation by defining styles that are applied to HTML elements. Styles can be defined internally, in an external CSS file, or inline. The CSS box model is also explained, with the content, padding, border, and margin areas of elements illustrated. Common CSS properties for text formatting are also listed.
this presentation covers the following topics which are as follows
1. Introduction of css
2. History of css
3. Types of css styling
4. Css syntax
5. Css Selector
6. Css Variations Or Css Versions
CSS (Cascading Style Sheets) is used to style and lay out HTML elements. CSS allows you to define styles that specify things like color, font, size, and layout of HTML elements. Styles can be applied to HTML elements using CSS selectors like id and class selectors. CSS properties specify values for attributes like color, background, text, and more. External CSS stylesheets can be linked to HTML documents to style multiple pages consistently.
CSS (Cascading Style Sheets) is a stylesheet language used to describe the presentation of HTML documents. CSS allows you to control the color, font, size, spacing, and other aspects of HTML elements. CSS properties like background, text, font, links, lists and box model can be used to format HTML elements. CSS rules have selectors that specify the element to which a declaration applies, and declarations that contain property-value pairs that define the presentation of the element.
Cascading Style Sheets (CSS) allow separation of document content from document presentation, including elements like fonts, colors, and layout. CSS rules include selectors that point to specific HTML elements and declarations that define properties like color and font for those elements. Common CSS properties include font properties, color properties, box properties like width, padding, and margin, and background properties. CSS provides benefits like easier maintenance of web page styling across multiple pages.
In this slide, we will discuss about what are css, html and also javascript. These three languages are very powerful and must be mastered and understood by all programmers and "hackers".
This slide will give you a clear view on what are they and their functions. Please note that, this slide does not teach you how to write/program them. This slides is completely for any levels.
1) Easy to understand.
2) Comments are included to make you understand better!
3) Ready to go for any presentation.
4) Full of informations
5) Small but powerful
What makes it interesting?
- These languages are used in every websites on the internet.
Why them?
- Seek for yourself in the slide
The document discusses Cascading Style Sheets (CSS) and how to style HTML elements using CSS. It covers CSS selectors like tags, IDs, and classes. It also describes the different ways to apply CSS like internal, external, and inline stylesheets and how CSS rules cascade. The document provides examples of CSS rules for backgrounds, text, fonts, and links.
This document provides information about Cascading Style Sheets (CSS), including what CSS is, why it is used, its history and solving problems with early HTML formatting, CSS syntax, selectors, colors, backgrounds, text formatting, and other CSS properties. CSS is used to define styles and layouts for web pages separately from the HTML markup. It allows for controlling formatting and layout across multiple pages simultaneously.
This document provides an introduction to CSS (Cascading Style Sheets). It defines CSS, lists some advantages of CSS like saving time and loading pages faster, and explains that the CSS Working Group creates and maintains CSS specifications. It also covers CSS syntax including selectors like element, id, class and attribute selectors. Finally, it discusses CSS combinators that explain the relationship between selectors like the descendant, child, adjacent sibling, and general sibling selectors.
CSS (Cascading Style Sheets) is a stylesheet language used to describe the presentation of a document written in HTML or XML. CSS saves lots of work as formatting elements only need to be applied to one CSS file rather than individually formatting every HTML page. CSS rules consist of selectors that point to the HTML element to style paired with a declaration block containing CSS properties and values to determine how that element will look. Common CSS properties include those to control text formatting, background effects, borders, lists, links and positioning.
The document discusses various CSS properties for styling fonts, text, links, borders, and outlines. It defines properties like font-family, font-size, text-align, border-style, and outline-width. Examples are provided to demonstrate how each property can be used to style text and elements on a webpage. Key CSS properties and their possible values are summarized in tables for easy reference. Code snippets and HTML examples further illustrate the use of these properties in practice.
- CSS (Cascading Style Sheets) is a style sheet language used to describe the presentation of HTML documents, including how elements should be rendered on screen, paper, or in other media.
- CSS allows separation of document content from document presentation, including elements sizing, color, font, layout, etc.
- There are three main ways to insert CSS - internal style sheets within <style> tags, external style sheets linked via <link> tags, and inline styles within HTML elements. CSS rules contain selectors that point to elements to style and declarations to set property values.
This document provides an introduction to cascading style sheets (CSS) and covers several key concepts:
CSS is used to style and lay out web pages and defines how HTML elements are displayed. Styles are normally saved in external CSS files so the appearance of an entire website can be changed by editing one file. A CSS rule has a selector that specifies which element the rule applies to and declarations that define properties for that element. Comments can be added to CSS code to explain it. Different selectors like ID, class, and inline styles allow targeting specific elements. The order of style precedence determines which styles get applied when multiple styles conflict. Background properties are used to define and customize element backgrounds.
The document discusses different types of client-side scripts including Cascading Style Sheets (CSS), JavaScript, and Dynamic HTML (DHTML). It explains how CSS can be used to style web pages through internal, external, and inline styling. Common CSS properties for styling backgrounds, text, and other elements are also described.
HTML is a markup language used to define the structure and layout of web pages. It uses tags like <h1> and <p> to mark headings and paragraphs. CSS is used to style and lay out HTML elements, using selectors, declarations, and properties to change things like colors and positioning. JavaScript can be added to HTML pages with <script> tags and is used to add interactive elements and dynamic behavior by manipulating HTML and responding to user input. It has data types like strings and numbers and control structures like if/else statements.
CSS (Cascading Style Sheets) allows separation of document content from page layout/presentation. CSS was introduced to make web page design and modification easier. CSS properties control elements like text formatting, page layout, and color/images. CSS rules cascade from broad to specific with author styles overriding browser defaults. Common selectors target elements by ID, class, tag name or relationship.
This document provides an 18 chapter tutorial on CSS (Cascading Style Sheets). It begins with introductory chapters on CSS syntax, classes, IDs, divisions, spans, margins, padding, and text properties. Later chapters cover font properties, anchors, links, backgrounds, borders, lists, positioning, and pseudo elements. Each chapter provides examples and explanations of the CSS concepts and properties covered. The document was created by Vijay Kumar Sharma and includes their contact information. It serves as a comprehensive guide to learning the fundamentals of CSS.
Presentation to WordPress Memphis meetup group on December 2, 2010, CSS Basics. By designer Irina McGuire.
http://www.irinamcguire.com
CSS (Cascading Style Sheets) allows separation of document content from document presentation and behavior. CSS handles the look and formatting of a document and is effective for maintaining a consistent appearance across multiple web pages. CSS declarations apply styles to HTML elements and are organized in a cascade by importance, origin, specificity, and source order to determine which styles get applied.
The document provides an introduction to CSS (Cascading Style Sheets), explaining what CSS is, how it works, and some basic syntax and concepts. CSS allows separation of document content from document presentation by defining styles that are applied to HTML elements. Styles can be defined internally, in an external CSS file, or inline. The CSS box model is also explained, with the content, padding, border, and margin areas of elements illustrated. Common CSS properties for text formatting are also listed.
this presentation covers the following topics which are as follows
1. Introduction of css
2. History of css
3. Types of css styling
4. Css syntax
5. Css Selector
6. Css Variations Or Css Versions
CSS (Cascading Style Sheets) is used to style and lay out HTML elements. CSS allows you to define styles that specify things like color, font, size, and layout of HTML elements. Styles can be applied to HTML elements using CSS selectors like id and class selectors. CSS properties specify values for attributes like color, background, text, and more. External CSS stylesheets can be linked to HTML documents to style multiple pages consistently.
CSS (Cascading Style Sheets) is a stylesheet language used to describe the presentation of HTML documents. CSS allows you to control the color, font, size, spacing, and other aspects of HTML elements. CSS properties like background, text, font, links, lists and box model can be used to format HTML elements. CSS rules have selectors that specify the element to which a declaration applies, and declarations that contain property-value pairs that define the presentation of the element.
Cascading Style Sheets (CSS) allow separation of document content from document presentation, including elements like fonts, colors, and layout. CSS rules include selectors that point to specific HTML elements and declarations that define properties like color and font for those elements. Common CSS properties include font properties, color properties, box properties like width, padding, and margin, and background properties. CSS provides benefits like easier maintenance of web page styling across multiple pages.
In this slide, we will discuss about what are css, html and also javascript. These three languages are very powerful and must be mastered and understood by all programmers and "hackers".
This slide will give you a clear view on what are they and their functions. Please note that, this slide does not teach you how to write/program them. This slides is completely for any levels.
1) Easy to understand.
2) Comments are included to make you understand better!
3) Ready to go for any presentation.
4) Full of informations
5) Small but powerful
What makes it interesting?
- These languages are used in every websites on the internet.
Why them?
- Seek for yourself in the slide
The document discusses Cascading Style Sheets (CSS) and how to style HTML elements using CSS. It covers CSS selectors like tags, IDs, and classes. It also describes the different ways to apply CSS like internal, external, and inline stylesheets and how CSS rules cascade. The document provides examples of CSS rules for backgrounds, text, fonts, and links.
This document provides information about Cascading Style Sheets (CSS), including what CSS is, why it is used, its history and solving problems with early HTML formatting, CSS syntax, selectors, colors, backgrounds, text formatting, and other CSS properties. CSS is used to define styles and layouts for web pages separately from the HTML markup. It allows for controlling formatting and layout across multiple pages simultaneously.
This document provides an introduction to CSS (Cascading Style Sheets). It defines CSS, lists some advantages of CSS like saving time and loading pages faster, and explains that the CSS Working Group creates and maintains CSS specifications. It also covers CSS syntax including selectors like element, id, class and attribute selectors. Finally, it discusses CSS combinators that explain the relationship between selectors like the descendant, child, adjacent sibling, and general sibling selectors.
CSS (Cascading Style Sheets) is a stylesheet language used to describe the presentation of a document written in HTML or XML. CSS saves lots of work as formatting elements only need to be applied to one CSS file rather than individually formatting every HTML page. CSS rules consist of selectors that point to the HTML element to style paired with a declaration block containing CSS properties and values to determine how that element will look. Common CSS properties include those to control text formatting, background effects, borders, lists, links and positioning.
The document discusses various CSS properties for styling fonts, text, links, borders, and outlines. It defines properties like font-family, font-size, text-align, border-style, and outline-width. Examples are provided to demonstrate how each property can be used to style text and elements on a webpage. Key CSS properties and their possible values are summarized in tables for easy reference. Code snippets and HTML examples further illustrate the use of these properties in practice.
- CSS (Cascading Style Sheets) is a style sheet language used to describe the presentation of HTML documents, including how elements should be rendered on screen, paper, or in other media.
- CSS allows separation of document content from document presentation, including elements sizing, color, font, layout, etc.
- There are three main ways to insert CSS - internal style sheets within <style> tags, external style sheets linked via <link> tags, and inline styles within HTML elements. CSS rules contain selectors that point to elements to style and declarations to set property values.
This document provides an introduction to cascading style sheets (CSS) and covers several key concepts:
CSS is used to style and lay out web pages and defines how HTML elements are displayed. Styles are normally saved in external CSS files so the appearance of an entire website can be changed by editing one file. A CSS rule has a selector that specifies which element the rule applies to and declarations that define properties for that element. Comments can be added to CSS code to explain it. Different selectors like ID, class, and inline styles allow targeting specific elements. The order of style precedence determines which styles get applied when multiple styles conflict. Background properties are used to define and customize element backgrounds.
The document discusses different types of client-side scripts including Cascading Style Sheets (CSS), JavaScript, and Dynamic HTML (DHTML). It explains how CSS can be used to style web pages through internal, external, and inline styling. Common CSS properties for styling backgrounds, text, and other elements are also described.
CSS stands for Cascading Style Sheets and is used to define styles for displaying HTML elements. CSS has different levels that build upon each other and add new features. CSS level 1 was the first official recommendation in 1996, and level 2, published in 1998, added capabilities like positioning. CSS level 3 is currently under development. CSS saves work by defining styles that can be applied across many pages through external style sheets or internal style sheets. CSS has advantages like faster page loads and easier maintenance compared to only using HTML for styling.
This document provides an introduction to CSS (Cascading Style Sheets) including:
- CSS allows separation of document content from design and formatting through stylesheets.
- Stylesheets define how HTML elements are displayed and can be internal, external, or inline.
- Multiple stylesheets and style definitions will cascade together based on specificity.
- The CSS syntax uses selectors to target elements and properties to define styles like colors, fonts, spacing.
- Comments, classes, IDs, and other selectors provide control over styling different elements.
Cascading Style Sheets (CSS) allow users to define how HTML elements are presented on a page. CSS enables changing the appearance and layout of an entire website by editing just one CSS file. CSS uses selectors to apply styles to HTML elements via properties and values. Styles can be defined internally in HTML or externally in CSS files. CSS can control text formatting, colors, spacing, positioning and more to achieve visual consistency across web pages.
Cascading Style Sheets (CSS) allow users to define how HTML elements are presented on a page. CSS enables changing the appearance and layout of an entire website by editing just one CSS file. CSS uses selectors to apply styles to HTML elements via properties and values. Styles can be defined internally in HTML or externally in CSS files. CSS can control text formatting, colors, spacing, positioning and more to achieve visual consistency across web pages.
Cascading Style Sheets (CSS) allow control over the appearance of web pages by separating presentation from content. CSS is used to create consistent styles across multiple pages by defining styles that can be applied using classes and IDs. CSS rules define selectors and properties to style HTML elements, and separating styles from HTML structure makes pages easier to maintain and modify. Common CSS selectors include element, class, ID, and contextual selectors. Styles can be linked to HTML using inline, embedded, and external stylesheets.
CSS (Cascading Style Sheets) is a language used to style and lay out web pages. CSS allows you to control the color, font, size, spacing, and layout of text, images, and other HTML elements. There are three main ways to insert CSS: external style sheets, internal style sheets, and inline styles. CSS rules are made up of selectors that point to HTML elements along with declaration blocks that contain properties and values that define the element's style.
The document provides an introduction to CSS (Cascading Style Sheets) and describes various CSS concepts including: internal and external style sheets, text formatting properties like color, alignment, and decoration, font properties, CSS selectors like element, class, and ID selectors, working with tables, lists, the CSS box model, and backgrounds. Key points covered include the different ways to insert CSS stylesheets, how selectors are used to target elements, and properties for formatting text, backgrounds, tables, and boxes.
CSS (Cascading Style Sheets) is used to determine the display and formatting of HTML elements. It separates content from presentation. There are three ways to use CSS - inline styles within HTML elements, internal style sheets within the <head> section, and external style sheets in separate files linked via <link> tags. External style sheets allow consistent formatting across multiple pages by editing one file. Browsers prioritize conflicting styles based on their origin, with inline styles taking highest priority and external styles the lowest.
Cascading Style Sheets (CSS) allows obtaining full control over HTML elements and their default properties. CSS can be used to easily redefine properties of any HTML tag, opening new design opportunities. Styles defined in CSS can be reused throughout an HTML document or across multiple pages for consistent formatting. The document discusses different methods of implementing CSS, including inline, internal, and external stylesheets. It also covers various CSS properties for formatting text, fonts, colors, backgrounds, lists, borders, opacity, and more. Examples are provided to demonstrate different CSS declarations.
Act Academy provides Industrial training in PHP, .Net, graphic designing, web designing and many more. Also provides diploma courses in CAD designing, Financial accounting with 100% job assurances.
This document discusses Cascading Style Sheets (CSS) and its core concepts. It covers the different ways to insert CSS styles (external, internal, inline stylesheets), CSS selectors (type, class, ID selectors), the cascade and inheritance of styles, and some common text properties like color, decoration, and formatting. CSS is used to separate document structure and presentation to make websites easier to maintain and style consistently.
Top Vancouver Green Business Ideas for 2025 Powered by 4GoodHostingsteve198109
Vancouver in 2025 is more than scenic views, yoga studios, and oat milk lattes—it’s a thriving hub for eco-conscious entrepreneurs looking to make a real difference. If you’ve ever dreamed of launching a purpose-driven business, now is the time. Whether it’s urban mushroom farming, upcycled furniture sales, or vegan skincare sold online, your green idea deserves a strong digital foundation.
The 2025 Canadian eCommerce landscape is being shaped by trends like sustainability, local innovation, and consumer trust. To stay ahead, eco-startups need reliable hosting that aligns with their values. That’s where 4GoodHosting.com comes in—one of the top-rated Vancouver web hosting providers of 2025. Offering secure, sustainable, and Canadian-based hosting solutions, they help green entrepreneurs build their brand with confidence and conscience.
As eCommerce in Canada embraces localism and environmental responsibility, choosing a hosting provider that shares your vision is essential. 4GoodHosting goes beyond just hosting websites—they champion Canadian businesses, sustainable practices, and meaningful growth.
So go ahead—start that eco-friendly venture. With Vancouver web hosting from 4GoodHosting, your green business and your values are in perfect sync.
Understanding the Tor Network and Exploring the Deep Webnabilajabin35
While the Tor network, Dark Web, and Deep Web can seem mysterious and daunting, they are simply parts of the internet that prioritize privacy and anonymity. Using tools like Ahmia and onionland search, users can explore these hidden spaces responsibly and securely. It’s essential to understand the technology behind these networks, as well as the risks involved, to navigate them safely. Visit https://torgol.com/
Smart Mobile App Pitch Deck丨AI Travel App Presentation Templateyojeari421237
🚀 Smart Mobile App Pitch Deck – "Trip-A" | AI Travel App Presentation Template
This professional, visually engaging pitch deck is designed specifically for developers, startups, and tech students looking to present a smart travel mobile app concept with impact.
Whether you're building an AI-powered travel planner or showcasing a class project, Trip-A gives you the edge to impress investors, professors, or clients. Every slide is cleanly structured, fully editable, and tailored to highlight key aspects of a mobile travel app powered by artificial intelligence and real-time data.
💼 What’s Inside:
- Cover slide with sleek app UI preview
- AI/ML module implementation breakdown
- Key travel market trends analysis
- Competitor comparison slide
- Evaluation challenges & solutions
- Real-time data training model (AI/ML)
- “Live Demo” call-to-action slide
🎨 Why You'll Love It:
- Professional, modern layout with mobile app mockups
- Ideal for pitches, hackathons, university presentations, or MVP launches
- Easily customizable in PowerPoint or Google Slides
- High-resolution visuals and smooth gradients
📦 Format:
- PPTX / Google Slides compatible
- 16:9 widescreen
- Fully editable text, charts, and visuals
Reliable Vancouver Web Hosting with Local Servers & 24/7 Supportsteve198109
Looking for powerful and affordable web hosting in Vancouver? 4GoodHosting offers premium Canadian web hosting solutions designed specifically for individuals, startups, and businesses across British Columbia. With local data centers in Vancouver and Toronto, we ensure blazing-fast website speeds, superior uptime, and enhanced data privacy—all critical for your business success in today’s competitive digital landscape.
Our Vancouver web hosting plans are packed with value—starting as low as $2.95/month—and include secure cPanel management, free domain transfer, one-click WordPress installs, and robust email support with anti-spam protection. Whether you're hosting a personal blog, business website, or eCommerce store, our scalable cloud hosting packages are built to grow with you.
Enjoy enterprise-grade features like daily backups, DDoS protection, free SSL certificates, and unlimited bandwidth on select plans. Plus, our expert Canadian support team is available 24/7 to help you every step of the way.
At 4GoodHosting, we understand the needs of local Vancouver businesses. That’s why we focus on speed, security, and service—all hosted on Canadian soil. Start your online journey today with a reliable hosting partner trusted by thousands across Canada.
Best web hosting Vancouver 2025 for you businesssteve198109
Vancouver in 2025 is more than scenic views, yoga studios, and oat milk lattes—it’s a thriving hub for eco-conscious entrepreneurs looking to make a real difference. If you’ve ever dreamed of launching a purpose-driven business, now is the time. Whether it’s urban mushroom farming, upcycled furniture sales, or vegan skincare sold online, your green idea deserves a strong digital foundation.
The 2025 Canadian eCommerce landscape is being shaped by trends like sustainability, local innovation, and consumer trust. To stay ahead, eco-startups need reliable hosting that aligns with their values. That’s where 4GoodHosting.com comes in—one of the top-rated Vancouver web hosting providers of 2025. Offering secure, sustainable, and Canadian-based hosting solutions, they help green entrepreneurs build their brand with confidence and conscience.
As eCommerce in Canada embraces localism and environmental responsibility, choosing a hosting provider that shares your vision is essential. 4GoodHosting goes beyond just hosting websites—they champion Canadian businesses, sustainable practices, and meaningful growth.
So go ahead—start that eco-friendly venture. With Vancouver web hosting from 4GoodHosting, your green business and your values are in perfect sync.
DNS Resolvers and Nameservers (in New Zealand)APNIC
Geoff Huston, Chief Scientist at APNIC, presented on 'DNS Resolvers and Nameservers in New Zealand' at NZNOG 2025 held in Napier, New Zealand from 9 to 11 April 2025.
APNIC -Policy Development Process, presented at Local APIGA Taiwan 2025APNIC
Joyce Chen, Senior Advisor, Strategic Engagement at APNIC, presented on 'APNIC Policy Development Process' at the Local APIGA Taiwan 2025 event held in Taipei from 19 to 20 April 2025.
APNIC Update, presented at NZNOG 2025 by Terry SweetserAPNIC
Terry Sweetser, Training Delivery Manager (South Asia & Oceania) at APNIC presented an APNIC update at NZNOG 2025 held in Napier, New Zealand from 9 to 11 April 2025.
1. Introduction to CSS By Programme Blog
http://programmerblog.net/
2. CSS – Cascading Style Sheets
By Programmer Blog http://programmerblog.net/
What is CSS?
CSS stands for Cascading Style Sheets
Styles define how to display HTML elements
Styles were added to HTML 4.0 to solve a problem
External Style Sheets can save a lot of work
External Style Sheets are stored in CSS files.
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 3.2 specification.
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.
CSS Syntax
A CSS rule has two main parts: a selector, and one or more declarations:
3. CSS – Cascading Style Sheets
By Programmer Blog http://programmerblog.net/
CSS declarations always ends with a semicolon, and declaration groups are surrounded by
curly brackets:
p { color:red; text-align:center; }
p
{
color:red;
text-align:center;
}
4. The id and class Selectors
The id Selector
The id selector is used to specify a style for a single, unique element.
The style rule below will be applied to the element with id="para1":
The id selector uses the id attribute of the HTML element, and is defined with a "#".
#para1
{
text-align:center;
color:red;
}
Note: Do NOT start an ID name with a number! It will not work in Mozilla/Firefox.
The class Selector
The class selector is used to specify a style for a group of elements. Unlike the id selector,
the class selector is most often used on several elements.
This allows you to set a particular style for any HTML elements with the same class.
The class selector uses the HTML class attribute, and is defined with a "."
In the example below, all HTML elements with class="center" will be center-aligned:
Example
.center { text-align:center; }
CSS – Cascading Style Sheets
By Programmer Blog http://programmerblog.net/
5. You can also specify that only specific HTML elements should be affected by a
class.
In the example below, all p elements with class="center" will be center-aligned:
p.center { text-align:center; }
Note: Do NOT start a class name with a number! This is only supported in Internet Explorer.
CSS – Cascading Style Sheets
By Programmer Blog http://programmerblog.net/
6. Where CSS Fits In Page
Three Ways to Insert CSS
There are three ways of inserting a style sheet:
External style sheet
Internal style sheet
Inline style
External Style Sheet
An external style sheet is ideal when the style is applied to many pages. With an
external style sheet, you can change the look of an entire Web site by changing
one file. 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="mystyle.css" />
</head>
CSS – Cascading Style Sheets
By Programmer Blog http://programmerblog.net/
7. An external style sheet can be written in any text editor.
The file should not contain any html tags.
Your style sheet should be saved with a .css extension. An example of a style
sheet file is shown below:
hr { color:sienna; }
p { margin-left:20px; }
body { background-image:url("images/back40.gif"); }
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, like
this:
<head>
<style type="text/css">
hr { color:sienna; }
p { margin-left:20px; }
body { background-image:url("images/back40.gif"); }
</style>
</head>
Inline Styles
An inline style loses many of the advantages of style sheets by mixing content
with presentation. Use this method sparingly!
CSS – Cascading Style Sheets
By Programmer Blog http://programmerblog.net/
8. To use inline styles you use the style attribute in the relevant tag. The style
attribute can contain any CSS property. The example shows how to change the
color and the left margin of a paragraph:
<p style="color:sienna;margin-left:20px">This is a paragraph.</p>
Multiple Style Sheets
If some properties have been set for the same selector in different style sheets, the values
will be inherited from the more specific style sheet.
For example, an external style sheet has these properties for the h3 selector:
h3
{ color:red; text-align:left; font-size:8pt; }
And an internal style sheet has these properties for the h3 selector:
h3
{ text-align:right; font-size:20pt; }
If the page with the internal style sheet also links to the external style sheet the properties for
h3 will be:
color:red;
text-align:right;
font-size:20pt;
CSS – Cascading Style Sheets
By Programmer Blog http://programmerblog.net/
9. Cascading order
What style will be used when there is more than one style specified for an HTML
element?
Generally speaking we can say that all the styles will "cascade" into a new
"virtual" style sheet by the following rules, where number four has the highest
priority:
Browser default
External style sheet
Internal style sheet (in the head section)
Inline style (inside an HTML element)
So, an inline style (inside an HTML element) has the highest priority, which
means that it will override a style defined inside the <head> tag, or in an external
style sheet, or in a browser (a default value).
CSS – Cascading Style Sheets
By Programmer Blog http://programmerblog.net/
10. CSS Styling
CSS background properties are used to define the background effects of an element.
CSS properties used for background effects:
background-color
background-image
background-repeat
background-attachment
background-position
name - a color name, like "red"
RGB - an RGB value, like "rgb(255,0,0)"
Hex - a hex value, like "#ff0000"
h1 { background-color:#6495ed; }
p { background-color:#e0ffff; }
div { background-color:#b0c4de; }
body { background-image:url('bgdesert.jpg'); }
background-repeat:no-repeat; OR repeat-x OR repeat-y
Short - Hand for Background
body { background:#ffffff url('img_tree.png') no-repeat right top; }
CSS – Cascading Style Sheets
By Programmer Blog http://programmerblog.net/
11. Text Color
body { color:blue; }
Text Alignment
h1 { text-align:center ;}
Text Decoration
The text-decoration property is mostly used to remove underlines from links for design
purposes.
a { text-decoration:none; }
Text Transformation
Text Indentation
The text-indentation property is used to specify the indentation of the first line of a text.
p { text-indent:50px; }
CSS- FONT
CSS – Cascading Style Sheets
By Programmer Blog http://programmerblog.net/
12. CSS Font Families
In CSS, there are two types of font family names:
generic family - a group of font families with a similar look (like "Serif" or "Monospace")
font family - a specific font family (like "Times New Roman" or "Arial")
p{ font-family:"Times New Roman", Times, serif; }
p.normal { font-style:normal; }
h1 { font-size:40px; }
Styling Links
Links can be styled with any CSS property (e.g. color, font-family, background, etc.).
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
a:link { color:#FF0000; } /* unvisited link */
a:visited { color:#00FF00; } /* visited link */
a:hover { color:#FF00FF; } /* mouse over link */
a:active { color:#0000FF; } /* selected link */
a:visited { text-decoration:none; }
CSS – Cascading Style Sheets
By Programmer Blog http://programmerblog.net/
13. CSS Tables
Table Borders
To specify table borders in CSS, use the border property.
table, th, td {
border: 1px solid black; }
Table will have double borders. This is because both the table, th, and td elements have
separate borders.
Collapse Borders
The border-collapse property sets whether the table borders are collapsed into a single
border or separated: table
{
border-collapse:collapse;
}
table,th, td
{
border: 1px solid black;
}
Table Width and Height
Width and height of a table is defined by the width and height properties.
table { width:100%; }
th { height:50px; }
CSS – Cascading Style Sheets
By Programmer Blog http://programmerblog.net/
14. Table Text Alignment
The text in a table is aligned with the text-align and vertical-align properties.
td { text-align:right; }
Table Color & Table Padding
td
{ padding:15px; }
table, td, th
{
border:1px solid green;
}
th
{
background-color:green;
color:white;
}
CSS – Cascading Style Sheets
By Programmer Blog http://programmerblog.net/
15. Thank you for viewing this slide.
Hope this is helpful for you.
Please visit our blog
http://programmerblog.net/
Follow us on twitter https://twitter.com/progblogdotnet/
By ProgrammerBlog.net
http://programmerblog.net/
CSS – Cascading Style Sheets
By Programmer Blog http://programmerblog.net/