The document provides information about CSS (Cascading Style Sheets), including what CSS is, why it's used, how it solved problems with HTML, and some key CSS concepts. CSS is used to define styles and layout for web pages. It allows separation of document content from document presentation and saves work by controlling multiple page styles in one file. CSS removes formatting tags from HTML and solves issues that arose when tags like <font> were added to HTML for formatting.
This is the CSS Tutorial for Beginners that teach the basics of CSS. This tutorial will show the basic structure of a CSS style and will show 3 different methods to apply styles.
A standards-based method for controlling the look and feel of XML content.
Comprised of Rules to control elements in the document.
Designed to separate formatting from the content while being flexible and scalable
CSS specifies a priority scheme to determine which style rules apply if more than one rule matches against a particular element.
This is the CSS Tutorial for Beginners that teach the basics of CSS. This tutorial will show the basic structure of a CSS style and will show 3 different methods to apply styles.
A standards-based method for controlling the look and feel of XML content.
Comprised of Rules to control elements in the document.
Designed to separate formatting from the content while being flexible and scalable
CSS specifies a priority scheme to determine which style rules apply if more than one rule matches against a particular element.
CSS stands for Cascading Style Sheets
Styles define how to display HTML elements
External Style Sheets can save a lot of work
Styles are normally saved in external .css files. External style sheets enable you to change the appearance and layout of all the pages in a Web site, just by editing one single file!
The Cascading Style Sheets Specification ( CSS ) is a computer language that is used to write formatting instructions ( rules ). These rules tell a web browser how webpage content should 'look'— in terms of: layout. position, alignment, width, height, etc.
CSS stands for Cascading Style Sheets
Styles define how to display HTML elements
External Style Sheets can save a lot of work
Styles are normally saved in external .css files. External style sheets enable you to change the appearance and layout of all the pages in a Web site, just by editing one single file!
The Cascading Style Sheets Specification ( CSS ) is a computer language that is used to write formatting instructions ( rules ). These rules tell a web browser how webpage content should 'look'— in terms of: layout. position, alignment, width, height, etc.
Unit 8 - Information and Communication Technology (Paper I).pdfThiyagu K
This slides describes the basic concepts of ICT, basics of Email, Emerging Technology and Digital Initiatives in Education. This presentations aligns with the UGC Paper I syllabus.
How to Split Bills in the Odoo 17 POS ModuleCeline George
Bills have a main role in point of sale procedure. It will help to track sales, handling payments and giving receipts to customers. Bill splitting also has an important role in POS. For example, If some friends come together for dinner and if they want to divide the bill then it is possible by POS bill splitting. This slide will show how to split bills in odoo 17 POS.
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptxEduSkills OECD
Andreas Schleicher presents at the OECD webinar ‘Digital devices in schools: detrimental distraction or secret to success?’ on 27 May 2024. The presentation was based on findings from PISA 2022 results and the webinar helped launch the PISA in Focus ‘Managing screen time: How to protect and equip students against distraction’ https://www.oecd-ilibrary.org/education/managing-screen-time_7c225af4-en and the OECD Education Policy Perspective ‘Students, digital devices and success’ can be found here - https://oe.cd/il/5yV
The Indian economy is classified into different sectors to simplify the analysis and understanding of economic activities. For Class 10, it's essential to grasp the sectors of the Indian economy, understand their characteristics, and recognize their importance. This guide will provide detailed notes on the Sectors of the Indian Economy Class 10, using specific long-tail keywords to enhance comprehension.
For more information, visit-www.vavaclasses.com
This is a presentation by Dada Robert in a Your Skill Boost masterclass organised by the Excellence Foundation for South Sudan (EFSS) on Saturday, the 25th and Sunday, the 26th of May 2024.
He discussed the concept of quality improvement, emphasizing its applicability to various aspects of life, including personal, project, and program improvements. He defined quality as doing the right thing at the right time in the right way to achieve the best possible results and discussed the concept of the "gap" between what we know and what we do, and how this gap represents the areas we need to improve. He explained the scientific approach to quality improvement, which involves systematic performance analysis, testing and learning, and implementing change ideas. He also highlighted the importance of client focus and a team approach to quality improvement.
2024.06.01 Introducing a competency framework for languag learning materials ...Sandy Millin
http://sandymillin.wordpress.com/iateflwebinar2024
Published classroom materials form the basis of syllabuses, drive teacher professional development, and have a potentially huge influence on learners, teachers and education systems. All teachers also create their own materials, whether a few sentences on a blackboard, a highly-structured fully-realised online course, or anything in between. Despite this, the knowledge and skills needed to create effective language learning materials are rarely part of teacher training, and are mostly learnt by trial and error.
Knowledge and skills frameworks, generally called competency frameworks, for ELT teachers, trainers and managers have existed for a few years now. However, until I created one for my MA dissertation, there wasn’t one drawing together what we need to know and do to be able to effectively produce language learning materials.
This webinar will introduce you to my framework, highlighting the key competencies I identified from my research. It will also show how anybody involved in language teaching (any language, not just English!), teacher training, managing schools or developing language learning materials can benefit from using the framework.
Synthetic Fiber Construction in lab .pptxPavel ( NSTU)
Synthetic fiber production is a fascinating and complex field that blends chemistry, engineering, and environmental science. By understanding these aspects, students can gain a comprehensive view of synthetic fiber production, its impact on society and the environment, and the potential for future innovations. Synthetic fibers play a crucial role in modern society, impacting various aspects of daily life, industry, and the environment. ynthetic fibers are integral to modern life, offering a range of benefits from cost-effectiveness and versatility to innovative applications and performance characteristics. While they pose environmental challenges, ongoing research and development aim to create more sustainable and eco-friendly alternatives. Understanding the importance of synthetic fibers helps in appreciating their role in the economy, industry, and daily life, while also emphasizing the need for sustainable practices and innovation.
1. 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 stylesheets are stored in CSS files
2. 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.
3. CSS Solved a Big Problem
• 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>
• 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!
4. CSS Saves a Lot of Work!
• The style definitions are normally saved in
external .css files.
• With an external stylesheet file, you can
change the look of an entire website by
changing just one file!
5. CSS Syntax
• A CSS rule-set consists of a selector and a declaration
block:
• The selector points to the HTML element you want to
style.
• The declaration block contains one or more
declarations separated by semicolons.
• 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.
6. CSS Selectors
• CSS selectors are used to "find" (or select)
HTML elements based on their element name,
tag,id, class, attribute, and more.
7. The element Selector
• The element selector selects elements based on
the element name.
• You can select all <p> elements on a page like this
(in this case, all <p> elements will be center-
aligned, with a red text color):
Example
p {
text-align: center;
color: red;
}
8. Selector
The id Selector
The class Selector
The class selector selects elements with a specific class
attribute.
• You can also specify that only specific HTML elements
should be affected by a class.
• In the example below, only <p> elements with
class="center" will be center-aligned:
• Example
• p.center {
text-align: center;
color: red;
}
9. More than one class
HTML elements can also refer to more than one
class.
the <p> element will be styled according to
class="center" and to class="large":
Example
<p class="center large">This paragraph refers to
two classes.</p>
Note: A class name cannot start with a number!
10. Grouping Selectors
• If you have elements with the same style definitions, like this:
• h1 {
text-align: center;
color: red;
}
h2 {
text-align: center;
color: red;
}
p {
text-align: center;
color: red;
}
• It will be better to group the selectors, to minimize the code.
• To group selectors, separate each selector with a comma.
• In the example below we have grouped the selectors from the code above:
Example
h1, h2, p {
text-align: center;
color: red;
}
11. CSS Comments
• Comments are used to explain the code, and
may help when you edit the source code at a
later date.
• Comments are ignored by browsers.
• A CSS comment starts with /* and ends with
*/. Comments can also span multiple lines:
12. CSS How To...
Three Ways to Insert CSS
There are three ways of inserting a style
sheet:
External style sheet
Internal style sheet
Inline style
13. External Style Sheet
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:
<head>
<link rel="stylesheet" type="text/css" href="mystyle.css">
</head>
An external style sheet can be written in any text
editor. The file should not contain any html tags. The
style sheet file must be saved with a .css extension.
14. Example
body {
background-color: lightblue;
}
h1 {
color: navy;
margin-left: 20 px;
}
Note: Do not add a space between the property value
and the unit (such as margin-left: 20 px;). The correct
way is: margin-left: 20px;
15. Internal Style Sheet
An internal style sheet may be used if one single
page has a unique style.
Internal styles are defined within the <style>
element, inside the <head> section of an HTML
page:
16. Inline Styles
An inline style may be used to apply a unique style
for a single element.
To use inline styles, add the style attribute to the
relevant element. The style attribute can contain
any CSS property.
**Tip: An inline style loses many of the advantages
of a style sheet (by mixing content with
presentation). Use this method sparingly
17. CSS Colors
• Colors in CSS are most often specified by:
• a valid color name - like "red"
• an RGB value - like "rgb(255, 0, 0)"
• a HEX value - like "#ff0000“
• Follow exam[les
20. Background Image - Repeat Horizontally or
Vertically
• Please try to understand the example:
• Please be attentive.
• Background Image - Set position and no-
repeat
• Ex::
• We want to change the position of the image,
so that it does not disturb the text too much.
21. Background Property
• Background Image - Fixed position
• Background - Shorthand property
When using the shorthand property the order of
the property values is:
• background-color
• background-image
• background-repeat
• background-attachment
• background-position
22. Text Color
body {
color: blue;
}
h1 {
color: green;
}
****DO YOURSELF
Note: For W3C compliant CSS: If you define the
color property, you must also define the
background-color.
23. Text Alignment
• The text-align property is used to set the horizontal
alignment of a text.
• A text can be left or right aligned, centered, or justified.
h1 {
text-align: center;
}
h2 {
text-align: left;
}
h3 {
text-align: right; ///// ** Do yourself please
}
24. Text Decoration
• The text-decoration property is used to set or
remove decorations from text.
• The value text-decoration: none; is often used
to remove underlines from links:
Example
a {
text-decoration: none;
}
25. Text Decoration Example
• The other text-decoration values are used to decorate text:
Example
• h1 {
text-decoration: overline;
}
h2 {
text-decoration: line-through;
}
h3 {
text-decoration: underline;
}
26. Text Transformation
• The text-transform property is used to specify
uppercase and lowercase letters in a text.
• ////Try yourself
27. Text Indentation
• The text-indent property is used to specify the
indentation of the first line of a text:
Example
p {
text-indent: 50px;
}
28. Letter Spacing
• The letter-spacing property is used to specify
the space between the characters in a text.
• Check the EXAMPLE
29. Line Height
• The line-height property is used to specify the
space between lines:
• Check example::
30. Text Direction
• The direction property is used to change the
text direction of an element:
• Example: --------------
31. Word Spacing
The word-spacing property is used to specify
the space between the words in a text.
The example demonstrates how to increase or
decrease the space between words:
32. Text Shadow
• The text-shadow property adds shadow to
text.
• Check The example
33. CSS Lists
HTML Lists and CSS List Properties
• In HTML, there are two main types of lists:
• unordered lists (<ul>) - the list items are marked with
bullets
• ordered lists (<ol>) - the list items are marked with
numbers or letters
• The CSS list properties allow you to:
• Set different list item markers for ordered lists
• Set different list item markers for unordered lists
• Set an image as the list item marker
• Add background colors to lists and list items
34. Different List Item Markers
• The list-style-type property specifies the type
of list item marker.
• Example
35. An Image as The List Item Marker
• The list-style-image property specifies an
image as the list item marker:
• Example:
36. Position The List Item Markers
• The list-style-position property specifies
whether the list-item markers should appear
inside or outside the content flow:
• Ex
37. List - Shorthand property
• When using the shorthand property, the order of the
property values are:
• list-style-type (if a list-style-image is specified, the
value of this property will be displayed if the image for
some reason cannot be displayed)
• list-style-position (specifies whether the list-item
markers should appear inside or outside the content
flow)
• list-style-image (specifies an image as the list item
marker)
• If one of the property values above are missing, the
default value for the missing property will be inserted,
if any.