Cascading Style Sheets (CSS) is used to separate a document's semantics from its presentation. CSS allows content to be displayed differently on different devices. CSS rules consist of selectors and declarations blocks. The CSS box model represents elements as boxes that can be sized and positioned with properties like width, height, padding, borders, and margins. CSS handles conflicts between rules through specificity, source order, and inheritance to determine which styles get applied.
The document covers various topics related to CSS including CSS introduction, syntax, selectors, inclusion methods, setting backgrounds, fonts, manipulating text, and working with images. Key points include how CSS handles web page styling, the advantages of CSS, CSS versions, associating styles using embedded, inline, external and imported CSS, and properties for backgrounds, fonts, text formatting, and images.
INTRODUCTION TO ISTQB FOUNDATION LEVEL - CTFLRahul R Pandya
This Slideshare will give you the basics introduction of the ISTQB Foundation level testing certification.
ISTQB stands for the “International Software Testing Qualifications Board.”
ISTQB Certification is a universally acknowledged programming testing affirmation that is directed online by its Member Boards through a testing Exam Provider.
It describe the whole detail of html, CSS , html5 for descibing how to use html tags and where we use html tags. It describe the whole detail of html and CSS.
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.
All you need to know about CSS:
Selectors
Value Processing
Cascading
Box Model
Visual Formatting Model
Block Formatting Context
Stacking Context
At-Rules
Units
Presentation with examples:
http://rawgit.com/vzhidal/HTML-CSS-Training-Presentations/master/css-basics.html
The document discusses various topics related to HTML, CSS, and client-side coding including: CSS selectors, properties, cascade, media queries, animations. It covers CSS syntax, selectors like type, ID, class, attribute, and pseudo selectors. It describes the box model and properties for text, background, positioning. It also explains cascade, specificity, inheritance in CSS and how media queries allow styling for different devices.
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.
Introduction to Cascading Style Sheets (CSS)Chris Poteet
This document provides an introduction to Cascading Style Sheets (CSS) including definitions, why CSS is used, the cascade, inheritance, using style sheets, CSS syntax, selectors, the box model, CSS and the semantic web, browser acceptance, fonts, units, colors, layouts, text formatting, backgrounds, lists, shorthand properties, accessibility, and resources for further information.
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.
Advanced CSS
by: Alexandra Vlachakis
Sandy Creek High School, Fayette County Schools
Slide Show correlates Georgia Deparment of Edcuation Career and Technology PATHWAY: Interactive Media
COURSE: Advanced Web Design
UNIT 6: BCS-AWD-6 Advanced CSS
HTML structures web documents and defines the semantics, or meaning, of content. CSS handles presentation and styling. HTML uses tags to define headings, paragraphs, lists, links and other content. CSS allows styling of elements using selectors, properties and values. External CSS files allow separation of concerns and reuse of styles across pages.
This document provides an overview of HTML and CSS topics including:
- A brief history of HTML and CSS standards from 1990 to present.
- Descriptions of common HTML elements like <body>, <head>, <img>, <a>, and lists.
- Explanations of CSS concepts like selectors, properties, units, positioning, and layout fundamentals.
- Details on CSS topics like the box model, centering content, semantic HTML, and flexbox.
The document serves as a course outline or reference for learning HTML and CSS fundamentals.
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!
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
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.
This document provides an introduction to Cascading Style Sheets (CSS) including its syntax, types, selectors and an example program. CSS allows styling web pages by separating design from content. CSS rules consist of selectors and declaration blocks with properties and values. There are three types of CSS styles: internal, inline, and external. Common selectors include element, ID, class, and grouping selectors. An example program demonstrates using CSS to style an HTML table with borders, padding, and rounded corners.
The document provides an agenda for a workshop on HTML, CSS, and putting them together. It covers HTML topics like semantic tags, comments, and best practices. It then discusses CSS topics such as IDs vs classes, floats, shorthand, and putting HTML and CSS together with project structure and layouts. The workshop aims to give an introduction to HTML, CSS, and how to structure websites using these languages.
The document discusses the three types of CSS - internal, external, and inline. Internal CSS is defined within the HTML document using <style> tags. External CSS is defined in a separate .css file and linked using <link> tags. Inline CSS is defined directly in HTML elements using the style attribute. IDs and classes are also discussed as ways to target elements with CSS selectors.
There are 6 types of CSS selectors: simple, class, generic, ID, universal, and pseudo-class selectors. Simple selectors apply styles to single elements. Class selectors allow assigning different styles to the same element on different occurrences. ID selectors define special styles for specific elements. Generic selectors define styles that can be applied to any tag. Universal selectors apply styles to all elements on a page. Pseudo-class selectors give special effects like focus and hover.
Using this presentation you will learn dividing the browser window into different parts(frame). With frames, several Web pages can be displayed in the same browser window.
This slide guides through the differences of the Span and Div tags in HTML.
I started a channel on YouTube for Networking lovers. "VERY SIMPLE NETWORKING" SERIES can be found at http://www.youtube.com/bgccnadom.
THANK YOU FOR YOUR SUPPORT AND LIKES.
about this presentation:
1) this presentation was a quickie for non-tech employees, who wanted a basic understanding of html/css, as it related to a white-label SAAS product;
2) the back-end/front-end definitions relate to the specific application (it's inaccurate if node.js is in the picture)
https://www.youtube.com/watch?v=lKrbeJ7-J98
HTTP messages are how data is exchanged between a server and a client. There are two types of messages: requests sent by the client to trigger an action on the server, and responses, the answer from the server.
The document discusses various aspects of HTML5 including its history, new elements, offline storage capabilities, and responsive web design. It provides information on HTML, CSS, JavaScript and how they make up the three layers of web design. It also summarizes the roles of different standards organizations and differences between HTML5 and the HTML living standard.
This document discusses Cascading Style Sheets (CSS) and how they can be used to control the style and layout of web documents. CSS allows for a consistent look across multiple platforms, division of labor between design and coding teams, and user control over formatting. CSS rules use selectors to target specific elements and properties to set styles like colors, fonts, sizes, and positioning. CSS handles inheritance of styles and prioritizes rules based on specificity. Styles can position elements outside of normal flow using relative, float, and absolute positioning.
La comunicación requiere un emisor, mensaje y receptor, así como un canal para transmitir el mensaje. El emisor codifica y envía el mensaje a través de un canal, ya sea una conversación o medio electrónico. El receptor decodifica e interpreta el mensaje, y puede dar una respuesta retroalimentación al emisor. Para que exista comunicación efectiva, el emisor y receptor deben compartir un código común como un idioma.
REST is a style of software architecture for distributed hypermedia systems such as the World Wide Web. It uses a stateless, client-server, cacheable communications protocol and standard interface to access and manipulate representations of web resources. The key aspects of REST include using a uniform interface, separating concerns through resources and representations, and hypermedia as the engine of application state. REST contrasts with SOAP which is message-oriented and focuses on integrated applications rather than interacting with resources. While REST and SOA share some principles like loose coupling and statelessness, REST emphasizes resources and representations over messages and operations.
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.
Introduction to Cascading Style Sheets (CSS)Chris Poteet
This document provides an introduction to Cascading Style Sheets (CSS) including definitions, why CSS is used, the cascade, inheritance, using style sheets, CSS syntax, selectors, the box model, CSS and the semantic web, browser acceptance, fonts, units, colors, layouts, text formatting, backgrounds, lists, shorthand properties, accessibility, and resources for further information.
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.
Advanced CSS
by: Alexandra Vlachakis
Sandy Creek High School, Fayette County Schools
Slide Show correlates Georgia Deparment of Edcuation Career and Technology PATHWAY: Interactive Media
COURSE: Advanced Web Design
UNIT 6: BCS-AWD-6 Advanced CSS
HTML structures web documents and defines the semantics, or meaning, of content. CSS handles presentation and styling. HTML uses tags to define headings, paragraphs, lists, links and other content. CSS allows styling of elements using selectors, properties and values. External CSS files allow separation of concerns and reuse of styles across pages.
This document provides an overview of HTML and CSS topics including:
- A brief history of HTML and CSS standards from 1990 to present.
- Descriptions of common HTML elements like <body>, <head>, <img>, <a>, and lists.
- Explanations of CSS concepts like selectors, properties, units, positioning, and layout fundamentals.
- Details on CSS topics like the box model, centering content, semantic HTML, and flexbox.
The document serves as a course outline or reference for learning HTML and CSS fundamentals.
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!
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
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.
This document provides an introduction to Cascading Style Sheets (CSS) including its syntax, types, selectors and an example program. CSS allows styling web pages by separating design from content. CSS rules consist of selectors and declaration blocks with properties and values. There are three types of CSS styles: internal, inline, and external. Common selectors include element, ID, class, and grouping selectors. An example program demonstrates using CSS to style an HTML table with borders, padding, and rounded corners.
The document provides an agenda for a workshop on HTML, CSS, and putting them together. It covers HTML topics like semantic tags, comments, and best practices. It then discusses CSS topics such as IDs vs classes, floats, shorthand, and putting HTML and CSS together with project structure and layouts. The workshop aims to give an introduction to HTML, CSS, and how to structure websites using these languages.
The document discusses the three types of CSS - internal, external, and inline. Internal CSS is defined within the HTML document using <style> tags. External CSS is defined in a separate .css file and linked using <link> tags. Inline CSS is defined directly in HTML elements using the style attribute. IDs and classes are also discussed as ways to target elements with CSS selectors.
There are 6 types of CSS selectors: simple, class, generic, ID, universal, and pseudo-class selectors. Simple selectors apply styles to single elements. Class selectors allow assigning different styles to the same element on different occurrences. ID selectors define special styles for specific elements. Generic selectors define styles that can be applied to any tag. Universal selectors apply styles to all elements on a page. Pseudo-class selectors give special effects like focus and hover.
Using this presentation you will learn dividing the browser window into different parts(frame). With frames, several Web pages can be displayed in the same browser window.
This slide guides through the differences of the Span and Div tags in HTML.
I started a channel on YouTube for Networking lovers. "VERY SIMPLE NETWORKING" SERIES can be found at http://www.youtube.com/bgccnadom.
THANK YOU FOR YOUR SUPPORT AND LIKES.
about this presentation:
1) this presentation was a quickie for non-tech employees, who wanted a basic understanding of html/css, as it related to a white-label SAAS product;
2) the back-end/front-end definitions relate to the specific application (it's inaccurate if node.js is in the picture)
https://www.youtube.com/watch?v=lKrbeJ7-J98
HTTP messages are how data is exchanged between a server and a client. There are two types of messages: requests sent by the client to trigger an action on the server, and responses, the answer from the server.
The document discusses various aspects of HTML5 including its history, new elements, offline storage capabilities, and responsive web design. It provides information on HTML, CSS, JavaScript and how they make up the three layers of web design. It also summarizes the roles of different standards organizations and differences between HTML5 and the HTML living standard.
This document discusses Cascading Style Sheets (CSS) and how they can be used to control the style and layout of web documents. CSS allows for a consistent look across multiple platforms, division of labor between design and coding teams, and user control over formatting. CSS rules use selectors to target specific elements and properties to set styles like colors, fonts, sizes, and positioning. CSS handles inheritance of styles and prioritizes rules based on specificity. Styles can position elements outside of normal flow using relative, float, and absolute positioning.
La comunicación requiere un emisor, mensaje y receptor, así como un canal para transmitir el mensaje. El emisor codifica y envía el mensaje a través de un canal, ya sea una conversación o medio electrónico. El receptor decodifica e interpreta el mensaje, y puede dar una respuesta retroalimentación al emisor. Para que exista comunicación efectiva, el emisor y receptor deben compartir un código común como un idioma.
REST is a style of software architecture for distributed hypermedia systems such as the World Wide Web. It uses a stateless, client-server, cacheable communications protocol and standard interface to access and manipulate representations of web resources. The key aspects of REST include using a uniform interface, separating concerns through resources and representations, and hypermedia as the engine of application state. REST contrasts with SOAP which is message-oriented and focuses on integrated applications rather than interacting with resources. While REST and SOA share some principles like loose coupling and statelessness, REST emphasizes resources and representations over messages and operations.
This lab document introduces the dfield7 tool in Matlab for investigating and visualizing solutions to first order differential equations. Students are instructed on how to access dfield7 within Matlab and are given examples of its basic functions like plotting solution curves from initial conditions. The document then lists 5 practice problems for students to solve using dfield7, obtaining approximate solutions to initial value problems for different first order differential equations by placing the cursor or entering values at specific points on the direction field graphs.
Operations spark innovation - slides from Innovation Social May 2016Antony Mayfield
Slides from my Innovation Social talk. Operationalising new ideas and approaches to brand communications is essential. Not only is an operational mindset important to scale beyond a single country or category, but it can also boost the quality and impact of innovation and creative work.
Ansee Smart Home Security Products201610Royce Heung
Ansee Smart Home Security Products company introduces their line of smart home security cameras, alarms, and accessories. Their products include IP cameras, mini cameras, bullet cameras, dome cameras, alarms for smoke, gas, doors, and more. Their software allows remote viewing, playback, alerts and control of cameras and smart home devices over WiFi or cellular networks. Ansee focuses on video surveillance integration, smart home control, and linking video with alarms for home security.
The document discusses e-marketing strategies for Outlook Magazine. It provides an overview of the print media industry and Outlook group. As an intern, the author's key responsibilities were increasing magazine subscriptions through email marketing and phone calls. Research was conducted through surveys to understand reader preferences and the impact of promotions. Findings showed readers were comfortable with digital formats and social media. Suggestions included improving the mobile app, strengthening customer relationships, and introducing new magazine types.
01 por que não aceitamos os evangelhos apócrifosJunio Oliveira
The Apocryphal New Testament. Oxford: Clarendon Press, 1924; SCHNEEMELCHER, Wilhelm
(ed.). New Testament Apocrypha. 2 vols. Louisville: Westminster John Knox Press, 1991-1992.
18 Para uma introdução a essas narrativas da infância, ver: EVANS, Craig A. & LIGHTFOOT,
J. L. Jesus and His Contemporaries: Comparative Studies. Minneapolis: Fortress Press, 2001, p. 55-84;
PIÑERO, Antonio. O outro Jesus segundo os evangelhos apócrifos. São Paulo: Paulus, 2002, p. 31-68.
19 Para uma introdução
An introduction to the XPath XML query possibilities. In particular, there is a focus on the abbreviations that makes XPath efficient to use. A larger section is allocated to explain and illustrated the use of axes in XPath
IPS kelas 1 semester 2 membahas tentang pengalaman diri dan peristiwa masa lalu serta lingkungan rumah. Dokumen ini berisi soal pilihan ganda dan esai pendek untuk mengetahui pemahaman siswa tentang subjek tersebut.
Dokumen tersebut berisi soal-soal latihan mengenai materi bilangan untuk siswa kelas 1 SD semester 2. Terdapat 10 pertanyaan pilihan ganda dan 10 pertanyaan esai singkat mengenai konsep-konsep seperti nilai tempat, penulisan bilangan dalam bentuk angka dan huruf, pengurutan bilangan, dan operasi hitung sederhana.
Vortrag bei der 8. Jahrestagung „Maintenance in der pharmazeutischen Industrie“; 23.09.2015, Steigenberger Hotel am Kanzleramt, Berlin
Kurzfassung:
Welche aktuellen Trends und Bedürfnisse bestimmen die gegenwärtige Entwicklung des Instandhaltungssektors? Was kommt auf die Instandhaltung im Spannungsfeld zwischen Mensch, Organisation und Technik zu? Welche Kompetenzen müssen die Instandhalter/-innen der Zukunft haben? Steht uns ein Paradigmenwechsel in der Instandhaltung bevor? Welche Rolle spielt das Internet der Dinge in der Instandhaltung der Zukunft?
Antworten auf diese Fragen sucht ein Sondierungsprojekt mit der Bezeichnung „Instandhaltung 4.0“: Das Projekt führte zwischen Februar 2014 und April 2015 eine Analyse der Bedürfnisse und Trends in der Instandhaltung, entwickelte Zukunftsszenarien, untersuchte die technologischen Strömungen (Technologie-Radar) und Lösungsansätze (Lösungs-Radar). Ergänzend dazu wurde ein Überblick über aktuelle Forschungsvorhaben (Forschungs-Radar) erstellt. Das zentrale Ergebnis bildet die „Roadmap der Instandhaltung 4.0“, in der die Ergebnisse der einzelnen Analysen zusammengeführt und anwendungsbezogene Handlungsfelder für die Instandhaltung der Zukunft identifiziert werden.
Der Vortrag stellt die wichtigsten Ergebnisse der Bedürfnis- und Trendanalyse für die Branche vor und kommt dabei zu Aussagen, die sich auf eine Online-Umfrage im deutschen Sprachraum stützen: Ein Beispiel dafür ist die Erkenntnis, dass die nicht-technischen Herausforderungen im Instandhaltungssektor überwiegen. Als Beispiel für einen der Themenbereiche in der Szenarienentwicklung werden die Einschätzungen der Expert/-innen zum innerbetriebliche Stellenwert der Instandhaltung beleuchtet: Wie wird das Verhältnis zwischen Produktion und Instandhaltung sich in Zukunft gestalten? Wird die Instandhaltung zum „Shooting-Star“ oder bleibt sie die „Magd der Produktion“? Abschließend beleuchtet der Vortrag die wichtigsten Aspekte des in der Studie identifizierten Paradigmenwechsels in der Instandhaltung und stellt die wichtigsten Handlungsfelder und Forschungsfragen vor.
El documento contiene varias preguntas de opción múltiple sobre diversos temas como geología, biología, psicología, geografía, química y política. Las preguntas requieren la selección de una de tres opciones para continuar con el siguiente conjunto de preguntas.
This document provides an introduction to CSS (Cascading Style Sheets) including motivation for separating presentation from semantics, CSS syntax, the box model, fonts, text formatting, normal flow layout, and positioning elements outside of normal flow. Key points covered include using selectors to target elements, the rule cascade for determining applied styles, inheritance of property values, and properties for formatting fonts, backgrounds, colors, and positioning boxes.
The document discusses separating semantics from presentation in HTML using CSS. It introduces CSS and how it can be used to apply styles through external and embedded style sheets. It covers CSS syntax including selector strings and rule cascading. It also covers CSS properties related to fonts, text formatting, box model, backgrounds, normal flow layout, and positioning elements outside the normal flow.
This tutorial covers all the basics of CSS. This is a quick guide to CSS.Anyone having understanding of HTML can easily learn CSS in 10 minutes with this video tutorial. It covers all the basics of Style Sheets in Web designing.
For more detail you can also visit our Tech Blogs at https://msatechnosoft.in/blog/tech-blogs
CSS is used to control the style and formatting of HTML documents. It allows separation of document content from document presentation, including elements like color, fonts, spacing, and layout. CSS syntax uses selectors to apply styles specified by properties and values. Common selectors include element tags, classes, IDs, and descendant/child relationships. CSS handles global presentation of HTML pages for various devices.
CSS is used to control the style and formatting of HTML documents. It allows separation of document content from document presentation, including elements like color, fonts, spacing, and layout. CSS syntax uses selectors to apply styles specified by properties and values. Common selectors include element tags, classes, IDs, and descendant selectors. CSS handles global presentation of HTML pages for various devices.
This document introduces CSS (Cascading Style Sheets) by providing an overview of its key concepts and features in 3 sentences or less:
CSS allows precise control over the layout, formatting, and styling of HTML documents through style rules that select elements and declare how they should be displayed; style rules can be defined internally, embedded in the HTML, or linked externally via a separate .css file and applied via selectors, properties, and values; the cascade resolves conflicts between multiple applied styles based on source, specificity, and order.
Fundamental of Web Development Tutorials-CSS by PINFO Technologies.pptxumoren
This is CSS fundamentals slides for beautification of website development. This materials demonstrate how to apply CSS to your web pages. The slides are easy to understanding with systematic approaches to every tasks on the slides. To understanding this presentation better, ensure to ready the HTML slides titled "Fundamentals of web development".
Cascading Style Sheets (CSS) is a language for styling web pages that allows separation of document content from document presentation. CSS controls the look and formatting of content like colors, layout, fonts, and more. There are several ways to associate CSS with HTML documents, including internal CSS within <style> tags, inline CSS with the style attribute, external CSS in a .css file linked via <link>, and @import rules. CSS rules are made of selectors, properties, and values to style elements. Common properties include color, font-family, background, and text-align. CSS handles global presentation of content across devices.
This document provides an introduction to CSS (Cascading Style Sheets). It defines CSS as a language used to control the style and layout of web pages, and describes some key advantages like separation of style from content, ability to change appearance globally, and compatibility across devices. It also outlines common CSS syntax like selectors that target elements by type, class, ID and other attributes to style them.
Cascading Style Sheets (CSS) is a language for styling web pages that separates presentation from content. CSS handles the look and feel of a web page by controlling color, fonts, spacing, sizing, backgrounds, and other visual aspects. CSS provides powerful control over HTML elements while keeping web pages lightweight and load faster. CSS rules can be applied internally, inline, or externally through linked style sheets to globally style elements across multiple web pages. Common CSS properties control color, fonts, text, backgrounds, borders, positioning, and visual effects.
This document discusses CSS (Cascading Style Sheets) and how it can be used to style web pages. It begins by defining CSS and listing some of its main advantages, such as allowing reuse of styles across pages and faster loading times. It then covers CSS syntax, selectors, properties and values. The document also discusses the different methods of associating CSS with HTML, including inline, internal and external stylesheets. Finally, it provides examples of how to style specific elements like fonts, text, backgrounds and more using CSS.
This document provides information about an internship in web design and covers several key concepts of CSS (Cascading Style Sheets) including what CSS is used for, the basic syntax and structure of CSS, common CSS properties for controlling text, color, background, and font styles, and how to attach CSS to an HTML document. It includes examples of using CSS to control properties like font size, color, text alignment, background images and provides overviews of CSS concepts like the box model, specificity and inheritance to style web pages.
This document provides information about an internship in web design and covers various CSS concepts. It begins by stating the internship is in web designing and lists some benefits of learning CSS such as creating stunning websites and becoming a web designer. It then covers CSS topics like the basic syntax, selectors, properties, and values. Examples are provided for different CSS properties including color, font, text, background, and positioning. The document aims to teach the fundamentals of CSS through definitions, examples, and explanations of how it controls styling for web documents.
The document discusses Cascading Style Sheets (CSS), which is a stylesheet language used to describe the presentation of HTML and XML documents. CSS describes how elements should be rendered on screen, paper, speech, or other media. CSS declarations contain a property and value pair that applies styles to elements, and CSS rules combine selectors and declarations. CSS rules can be defined internally, externally, or inline. CSS properties control elements' appearance, including colors, fonts, dimensions, positioning, and more. The cascade, inheritance, specificity, and box model determine which styles get applied.
This document discusses various topics related to Cascading Style Sheets (CSS). It begins with definitions of CSS, its versions (CSS1, CSS2, CSS3), and differences between HTML, CSS and JavaScript. It then covers CSS basic syntax, applying CSS to HTML documents using inline, internal and external stylesheets, CSS selectors like ID, class, and various other advanced selectors. The document provides examples to explain concepts like CSS lengths and units, border, margin, padding properties and more.
CSS is used to control the style and layout of web pages. It allows control over color, font, size, spacing, and various other visual effects without having to modify the HTML content. CSS rules are made of selectors that specify which elements the styles apply to, properties that define what is being styled, and values that are assigned to the properties. There are different ways to associate CSS with HTML including internal stylesheets, external stylesheets, inline styles, and CSS imports. CSS prioritizes rules based on how they are associated with the HTML.
CSS is used to control the style and layout of web pages. It allows control over color, font, size, spacing, and various other visual effects without having to modify the HTML content. CSS rules are made of selectors that specify which elements the styles apply to, properties that define what is being styled, and values that are assigned to the properties. There are different ways to associate CSS with HTML including internal stylesheets, external stylesheets, inline styles, and CSS imports. CSS prioritizes rules based on how they are associated with the HTML.
CSS is used to control the style and formatting of web pages. It allows separation of document content from document presentation, including elements like layout, colors, and fonts. This tutorial provides an introduction to CSS and its syntax and selectors, explaining how CSS rules are structured and various ways CSS can be associated with HTML documents, including inline, internal and external stylesheets. Key topics covered include the CSS box model, properties, pseudo-classes and pseudo-elements, and the CSS cascade.
Mulesoft is an open source integration platform that allows users to connect different applications and platforms through a Java-based enterprise service bus. It can exchange data in real-time or batch modes between systems like JMS, Salesforce, HTTP, web services, and JDBC. Mulesoft is platform independent, integrates a wide variety of applications, and allows business logic to remain separate from messaging logic. To get certified in Mulesoft, users can study free online materials on the Mulesoft training site and take an open book, unproctored exam within 90 minutes after 8 weeks of study. Users are encouraged to thoroughly review materials, take notes, complete exercises, and engage with online communities to best prepare
MuleSoft is an integration platform that allows developers to connect applications together using Mule, its lightweight Java-based enterprise service bus (ESB). Anypoint Studio is MuleSoft's graphical development tool for building, testing, and deploying integrations. JMS is an API that enables loosely-coupled, reliable messaging between distributed application components using queues or topics. The document provides steps for using File, File-to-String, and JMS connectors in MuleSoft to place a file in a JMS queue.
This document provides an overview of using Mule to integrate with web services. It discusses building a bookstore web service using JAX-WS, generating a client, and configuring Mule with a CXF connector. It also covers transforming CSV book data to objects and sending to the web service, and transforming order objects to emails and sending via SMTP. The key steps are building the web service, generating a client, developing message transformers, and configuring Mule endpoints and routing.
The document provides an overview of the Perl programming language. It discusses that Perl stands for Practical Extraction and Reporting Language and is similar to shell script but more powerful and easier. It then covers basic Perl concepts like file extensions, self-executing scripts, advantages over other languages, and using print statements. The document also summarizes storing values using scalar and list variables, control structures, regular expressions, functions, and more advanced Perl topics.
Hibernate is an object-relational mapping tool that allows developers to interact with a relational database (such as MySQL) using object-oriented programming. It provides functionality for persisting Java objects to tables in a database and querying those objects using HQL or SQL. Hibernate utilizes XML mapping files or annotations to define how Java classes map to database tables. A typical Hibernate application includes entity classes, mapping files, configuration files, and a controller class to manage persistence operations.
The document provides an overview of the Java Persistence API (JPA). It defines JPA as a framework that helps developers control relational data in Java applications. JPA offers developers an easier way to access and manipulate relational data compared to previous solutions. It consists of the JPA API, the Java Persistence Query Language (JPQL), and object-relational metadata. JPA defines a runtime API to process queries and transactions on objects against a database, and JPQL allows querying objects from the database in a SQL-like syntax. The document also compares JPA to EJB solutions, noting advantages like reduced complexity and the ability to use outside an application server.
Spring is an open source Java application framework that uses dependency injection and inversion of control to reduce coupling between application layers. It includes modules for core functions, aspects, data access, web MVC, and other services. Spring promotes loose coupling, testability, and separation of concerns through its lightweight container that manages lifecycles and dependencies of application components.
JSON is a lightweight data format that can represent complex data structures like objects and arrays. It is useful for AJAX applications because JSON data can be easily evaluated and accessed in JavaScript. JSON has advantages over XML in AJAX as data can be accessed at any depth without additional processing, and JSON syntax is simpler. However, using JSON in AJAX also raises security concerns due to the ability of malicious scripts to access sensitive transmitted data.
The Spring Framework provides an inversion of control container and aspects for aspect-oriented programming. It includes services for data access, exceptions, ORM tools, web services, messaging and scheduling. It also offers a full MVC framework with clear separation of controller, validator, form object and view resolver roles. The Spring Framework has benefits like code extensibility, readability and replaceable modules, as well as transaction handling and security through AOP.
Exceptions in Java allow programs to handle errors and unexpected conditions in a uniform way. Exceptions break normal program flow and can be caught and handled in catch blocks. Common exceptions include runtime exceptions for errors like null pointer exceptions and checked exceptions for errors like IOExceptions. Exceptions are organized in a hierarchy with Throwable at the top. The Java compiler enforces exception handling to improve correctness.
This document provides an overview of JUnit, a unit testing framework for Java. It discusses JUnit's history and development by Kent Beck and others. The key aspects covered include: writing test cases by extending TestCase and adding test methods; using assertion methods like assertTrue and assertEquals to check conditions; organizing tests into test suites; and running JUnit tests within the Eclipse IDE. Other unit testing tools for other languages are also briefly mentioned.
XML parsers are software libraries that allow client applications to work with XML documents. There are two main types: DOM parsers build an in-memory tree representation, while SAX parsers use event-based callbacks. Xerces-J is a popular Java XML parser that implements both DOM and SAX interfaces. An example extracts circle data from an XML file using both a DOM parser to iterate through nodes and a SAX parser overriding callback methods.
XPath is a syntax for selecting parts of an XML document, similar to how file paths work in an operating system. It allows selecting elements, attributes, and text from an XML document. XPath uses paths containing axis, nodes, and predicates to navigate within an XML document. Common axes include child, parent, ancestor, descendant, following, and preceding. Functions, arithmetic expressions, and other features allow complex querying of XML documents.
XSLT is used to transform XML documents into other formats like HTML. It uses an XML document and an XSL stylesheet to perform the transformation. The XSL stylesheet contains templates that are applied to the XML data to output a new formatted document. Common XSL elements include xsl:value-of to output node values, xsl:for-each for loops, and xsl:apply-templates to apply templates to child nodes. XSLT provides powerful tools for transforming XML but requires careful debugging due to its complexity.
XHTML was created to replace HTML and is defined using XML rather than SGML. It is nearly identical to HTML but aims to be cleaner and more extensible by requiring elements to be properly nested, closed, and case-sensitive. Documents must also have a DOCTYPE declaration and refer to a DTD that defines syntax requirements. There are three main DTDs that can be used with XHTML - Strict, Transitional, and Frameset - depending on whether style information or frames are needed.
HTML5 is the newest version of HTML that simplifies elements and syntax compared to previous versions. It was first published in 2012 but has been in development since 2004. HTML5 incorporates features from earlier HTML versions and adds new tools for developers, though full browser support will take many years. The document provides examples of simplified DOCTYPE, HTML, HEAD, and BODY elements in HTML5 compared to previous versions like XHTML.
The document discusses AJAX (Asynchronous JavaScript and XML), which allows web pages to be updated asynchronously by exchanging data with a web server behind the scenes, without reloading the entire page. It provides an overview of the basic objects and steps needed to make AJAX work, including the XMLHttpRequest object, how servers respond, and using the response. It then contrasts the traditional synchronous web page model with AJAX's asynchronous approach. The document also covers the basics of writing AJAX applications, including creating XMLHttpRequest objects, sending requests, handling responses, and using properties and methods. Finally, it provides a skeleton for a general AJAX application and an example to get the time from the server without refreshing the whole page.
jQuery is a JavaScript library that makes it easier to select and manipulate HTML elements and implement animations and AJAX requests. It works by using CSS selectors to select elements and then provides methods to hide, show, add or remove content from those elements. Some key features of jQuery include selecting elements, modifying CSS styles, handling events, animating properties and AJAX requests. The document provides examples of how to select elements, bind events, implement common animations and effects like fading and sliding, and manipulate HTML content.
This document provides an overview of jQuery, including:
- jQuery is a JavaScript library that simplifies HTML document traversal, event handling, animating, and Ajax interactions.
- jQuery allows developers to write less code and do more, with features like simplified DOM manipulation and CSS selection.
- The document demonstrates basic jQuery concepts like DOM selection, traversal, and manipulation using jQuery's CSS selector syntax and methods.
State-Dependent Conformal Perception Bounds for Neuro-Symbolic Verification o...Ivan Ruchkin
A poster presented by Thomas Waite and Radoslav Ivanov at the 2nd International Conference on Neuro-symbolic Systems (NeuS) in May 2025.
Paper: https://arxiv.org/abs/2502.21308
Abstract: It remains a challenge to provide safety guarantees for autonomous systems with neural perception and control. A typical approach obtains symbolic bounds on perception error (e.g., using conformal prediction) and performs verification under these bounds. However, these bounds can lead to drastic conservatism in the resulting end-to-end safety guarantee. This paper proposes an approach to synthesize symbolic perception error bounds that serve as an optimal interface between perception performance and control verification. The key idea is to consider our error bounds to be heteroskedastic with respect to the system's state -- not time like in previous approaches. These bounds can be obtained with two gradient-free optimization algorithms. We demonstrate that our bounds lead to tighter safety guarantees than the state-of-the-art in a case study on a mountain car.
DePIN = Real-World Infra + Blockchain
DePIN stands for Decentralized Physical Infrastructure Networks.
It connects physical devices to Web3 using token incentives.
How Does It Work?
Individuals contribute to infrastructure like:
Wireless networks (e.g., Helium)
Storage (e.g., Filecoin)
Sensors, compute, and energy
They earn tokens for their participation.
Adtran’s new Ensemble Cloudlet vRouter solution gives service providers a smarter way to replace aging edge routers. With virtual routing, cloud-hosted management and optional design services, the platform makes it easy to deliver high-performance Layer 3 services at lower cost. Discover how this turnkey, subscription-based solution accelerates deployment, supports hosted VNFs and helps boost enterprise ARPU.
GDG Cloud Southlake #43: Tommy Todd: The Quantum Apocalypse: A Looming Threat...James Anderson
The Quantum Apocalypse: A Looming Threat & The Need for Post-Quantum Encryption
We explore the imminent risks posed by quantum computing to modern encryption standards and the urgent need for post-quantum cryptography (PQC).
Bio: With 30 years in cybersecurity, including as a CISO, Tommy is a strategic leader driving security transformation, risk management, and program maturity. He has led high-performing teams, shaped industry policies, and advised organizations on complex cyber, compliance, and data protection challenges.
nnual (33 years) study of the Israeli Enterprise / public IT market. Covering sections on Israeli Economy, IT trends 2026-28, several surveys (AI, CDOs, OCIO, CTO, staffing cyber, operations and infra) plus rankings of 760 vendors on 160 markets (market sizes and trends) and comparison of products according to support and market penetration.
Offshore IT Support: Balancing In-House and Offshore Help Desk Techniciansjohn823664
In today's always-on digital environment, businesses must deliver seamless IT support across time zones, devices, and departments. This SlideShare explores how companies can strategically combine in-house expertise with offshore talent to build a high-performing, cost-efficient help desk operation.
From the benefits and challenges of offshore support to practical models for integrating global teams, this presentation offers insights, real-world examples, and key metrics for success. Whether you're scaling a startup or optimizing enterprise support, discover how to balance cost, quality, and responsiveness with a hybrid IT support strategy.
Perfect for IT managers, operations leads, and business owners considering global help desk solutions.
As data privacy regulations become more pervasive across the globe and organizations increasingly handle and transfer (including across borders) meaningful volumes of personal and confidential information, the need for robust contracts to be in place is more important than ever.
This webinar will provide a deep dive into privacy contracting, covering essential terms and concepts, negotiation strategies, and key practices for managing data privacy risks.
Whether you're in legal, privacy, security, compliance, GRC, procurement, or otherwise, this session will include actionable insights and practical strategies to help you enhance your agreements, reduce risk, and enable your business to move fast while protecting itself.
This webinar will review key aspects and considerations in privacy contracting, including:
- Data processing addenda, cross-border transfer terms including EU Model Clauses/Standard Contractual Clauses, etc.
- Certain legally-required provisions (as well as how to ensure compliance with those provisions)
- Negotiation tactics and common issues
- Recent lessons from recent regulatory actions and disputes
"AI in the browser: predicting user actions in real time with TensorflowJS", ...Fwdays
With AI becoming increasingly present in our everyday lives, the latest advancements in the field now make it easier than ever to integrate it into our software projects. In this session, we’ll explore how machine learning models can be embedded directly into front-end applications. We'll walk through practical examples, including running basic models such as linear regression and random forest classifiers, all within the browser environment.
Once we grasp the fundamentals of running ML models on the client side, we’ll dive into real-world use cases for web applications—ranging from real-time data classification and interpolation to object tracking in the browser. We'll also introduce a novel approach: dynamically optimizing web applications by predicting user behavior in real time using a machine learning model. This opens the door to smarter, more adaptive user experiences and can significantly improve both performance and engagement.
In addition to the technical insights, we’ll also touch on best practices, potential challenges, and the tools that make browser-based machine learning development more accessible. Whether you're a developer looking to experiment with ML or someone aiming to bring more intelligence into your web apps, this session will offer practical takeaways and inspiration for your next project.
Multistream in SIP and NoSIP @ OpenSIPS Summit 2025Lorenzo Miniero
Slides for my "Multistream support in the Janus SIP and NoSIP plugins" presentation at the OpenSIPS Summit 2025 event.
They describe my efforts refactoring the Janus SIP and NoSIP plugins to allow for the gatewaying of an arbitrary number of audio/video streams per call (thus breaking the current 1-audio/1-video limitation), plus some additional considerations on what this could mean when dealing with application protocols negotiated via SIP as well.
AI in Java - MCP in Action, Langchain4J-CDI, SmallRye-LLM, Spring AIBuhake Sindi
This is the presentation I gave with regards to AI in Java, and the work that I have been working on. I've showcased Model Context Protocol (MCP) in Java, creating server-side MCP server in Java. I've also introduced Langchain4J-CDI, previously known as SmallRye-LLM, a CDI managed too to inject AI services in enterprise Java applications. Also, honourable mention: Spring AI.
What’s New in Web3 Development Trends to Watch in 2025.pptxLisa ward
Emerging Web3 development trends in 2025 include AI integration, enhanced scalability, decentralized identity, and increased enterprise adoption of blockchain technologies.
AI Emotional Actors: “When Machines Learn to Feel and Perform"AkashKumar809858
Welcome to the era of AI Emotional Actors.
The entertainment landscape is undergoing a seismic transformation. What started as motion capture and CGI enhancements has evolved into a full-blown revolution: synthetic beings not only perform but express, emote, and adapt in real time.
For reading further follow this link -
https://akash97.gumroad.com/l/meioex
New Ways to Reduce Database Costs with ScyllaDBScyllaDB
How ScyllaDB’s latest capabilities can reduce your infrastructure costs
ScyllaDB has been obsessed with price-performance from day 1. Our core database is architected with low-level engineering optimizations that squeeze every ounce of power from the underlying infrastructure. And we just completed a multi-year effort to introduce a set of new capabilities for additional savings.
Join this webinar to learn about these new capabilities: the underlying challenges we wanted to address, the workloads that will benefit most from each, and how to get started. We’ll cover ways to:
- Avoid overprovisioning with “just-in-time” scaling
- Safely operate at up to ~90% storage utilization
- Cut network costs with new compression strategies and file-based streaming
We’ll also highlight a “hidden gem” capability that lets you safely balance multiple workloads in a single cluster. To conclude, we will share the efficiency-focused capabilities on our short-term and long-term roadmaps.
Dev Dives: System-to-system integration with UiPath API WorkflowsUiPathCommunity
Join the next Dev Dives webinar on May 29 for a first contact with UiPath API Workflows, a powerful tool purpose-fit for API integration and data manipulation!
This session will guide you through the technical aspects of automating communication between applications, systems and data sources using API workflows.
📕 We'll delve into:
- How this feature delivers API integration as a first-party concept of the UiPath Platform.
- How to design, implement, and debug API workflows to integrate with your existing systems seamlessly and securely.
- How to optimize your API integrations with runtime built for speed and scalability.
This session is ideal for developers looking to solve API integration use cases with the power of the UiPath Platform.
👨🏫 Speakers:
Gunter De Souter, Sr. Director, Product Manager @UiPath
Ramsay Grove, Product Manager @UiPath
This session streamed live on May 29, 2025, 16:00 CET.
Check out all our upcoming UiPath Dev Dives sessions:
👉 https://community.uipath.com/dev-dives-automation-developer-2025/
Unlock your organization’s full potential with the 2025 Digital Adoption Blueprint. Discover proven strategies to streamline software onboarding, boost productivity, and drive enterprise-wide digital transformation.
Protecting Your Sensitive Data with Microsoft Purview - IRMS 2025Nikki Chapple
Session | Protecting Your Sensitive Data with Microsoft Purview: Practical Information Protection and DLP Strategies
Presenter | Nikki Chapple (MVP| Principal Cloud Architect CloudWay) & Ryan John Murphy (Microsoft)
Event | IRMS Conference 2025
Format | Birmingham UK
Date | 18-20 May 2025
In this closing keynote session from the IRMS Conference 2025, Nikki Chapple and Ryan John Murphy deliver a compelling and practical guide to data protection, compliance, and information governance using Microsoft Purview. As organizations generate over 2 billion pieces of content daily in Microsoft 365, the need for robust data classification, sensitivity labeling, and Data Loss Prevention (DLP) has never been more urgent.
This session addresses the growing challenge of managing unstructured data, with 73% of sensitive content remaining undiscovered and unclassified. Using a mountaineering metaphor, the speakers introduce the “Secure by Default” blueprint—a four-phase maturity model designed to help organizations scale their data security journey with confidence, clarity, and control.
🔐 Key Topics and Microsoft 365 Security Features Covered:
Microsoft Purview Information Protection and DLP
Sensitivity labels, auto-labeling, and adaptive protection
Data discovery, classification, and content labeling
DLP for both labeled and unlabeled content
SharePoint Advanced Management for workspace governance
Microsoft 365 compliance center best practices
Real-world case study: reducing 42 sensitivity labels to 4 parent labels
Empowering users through training, change management, and adoption strategies
🧭 The Secure by Default Path – Microsoft Purview Maturity Model:
Foundational – Apply default sensitivity labels at content creation; train users to manage exceptions; implement DLP for labeled content.
Managed – Focus on crown jewel data; use client-side auto-labeling; apply DLP to unlabeled content; enable adaptive protection.
Optimized – Auto-label historical content; simulate and test policies; use advanced classifiers to identify sensitive data at scale.
Strategic – Conduct operational reviews; identify new labeling scenarios; implement workspace governance using SharePoint Advanced Management.
🎒 Top Takeaways for Information Management Professionals:
Start secure. Stay protected. Expand with purpose.
Simplify your sensitivity label taxonomy for better adoption.
Train your users—they are your first line of defense.
Don’t wait for perfection—start small and iterate fast.
Align your data protection strategy with business goals and regulatory requirements.
💡 Who Should Watch This Presentation?
This session is ideal for compliance officers, IT administrators, records managers, data protection officers (DPOs), security architects, and Microsoft 365 governance leads. Whether you're in the public sector, financial services, healthcare, or education.
🔗 Read the blog: https://nikkichapple.com/irms-conference-2025/
2. Manav
Motivation
HTML markup can be used to represent
Semantics: h1 means that an element is a top-level
heading
Presentation: h1 elements look a certain way
It’s advisable to separate semantics from
presentation because:
It’s easier to present documents on multiple platforms
(browser, cell phone, spoken, …)
It’s easier to generate documents with consistent look
Semantic and presentation changes can be made
independently of one another (division of labor)
User control of presentation is facilitated
3. Manav
Style Sheet Languages
Cascading Style Sheets (CSS)
Applies to (X)HTML as well as XML documents
in general
Focus of this chapter
Extensible Stylesheet Language (XSL)
Often used to transform one XML document to
another form, but can also add style
XSL Transformations covered in later chapter
12. Manav
CSS Introduction
Note that alternate, user selectable style is
not widely supported: firefox 3 and IE 8 do,
but IE 6, IE 7 and Chrome don’t.
13. Manav
CSS Introduction
Single document can be displayed on
multiple media platforms by tailoring style
sheets:
This document will be printed differently than
it is displayed.
17. Manav
CSS Syntax:
Selector Strings
Elements belonging to a style class:
Referencing a style class in HTML:
Elements of a certain type and class:
class selector: begins with a period .
18. Manav
CSS Syntax:
Selector Strings
Elements belonging to a style class:
Referencing a style class in HTML:
Elements of a certain type and class:
this span belongs to three style classes
19. Manav
CSS Syntax:
Selector Strings
Elements belonging to a style class:
Referencing a style class in HTML:
Elements of a certain type and class:
this rule applies only to span’s belonging to class special
22. Manav
CSS Syntax:
Selector Strings
Source anchor elements:
Element types that are descendants:
rule applies to li element that is
part of the content of an ol element
23. Manav
CSS Syntax:
Selector Strings
Source anchor elements:
Element types that are descendants:
rule applies to li element that is
part of the content of an ol element
that is part of the content of a ul element
24. Manav
CSS Syntax
Style rules covered thus far follow ruleset
syntax
At-rule is a second type of rule
Reads style rules from specified URL
Must appear at beginning of style sheet
URL relative to style sheet URL
25. Manav
Style Sheets and HTML
Style sheets referenced by link HTML
element are called external style sheets
Style sheets can be embedded directly in
HTML document using style element
Most HTML elements have style
attribute (value is list of style declarations)
26. Manav
Style Sheets and HTML
Rules of thumb:
Use external style sheets to define site-wide style
Prefer style sheets (either external or embedded)
to style attributes
XML special characters
Must use references in embedded style sheets and
style attribute
Must not use references in external style sheets
27. Manav
CSS Rule Cascade
What if more than one style declaration
applies to a property of an element?
The CSS rule cascade determines which
style rule’s declaration applies
28. Manav
CSS Rule Cascade
To find the value for an element/property
combination, user agents must apply the
following sorting order:
1- Find all declarations that apply to the
element and property in question, for the
target media type. Declarations apply if the
associated selector matches the element in
question.
29. Manav
CSS Rule Cascade
2- The primary sort of the declarations is
by weight and origin: for normal
declarations, author style sheets override
user style sheets which override the default
style sheet. For "!important" declarations,
user style sheets override author style sheets
which override the default style sheet. "!
important" declaration override normal
declarations. An imported style sheet has
the same origin as the style sheet that
imported it.
Five origin/weight levels:
1. user/important
2. author/important
3. author/normal
4. user/normal
5. user agent/normal
30. Manav
CSS Rule Cascade
3- The secondary sort is by specificity of selector: more
specific selectors will override more general ones. Pseudo-
elements and pseudo-classes are counted as normal elements
and classes, respectively.
Specificity:
1. style attribute
2. rule with selector:
1. ID
2. class/pseudo-class
3. descendant/element type
4. universal
3. HTML attribute
31. Manav
CSS Rule Cascade
4- Finally, sort by order specified: if two rules have the same
weight, origin and specificity, the latter specified wins. Rules
in imported style sheets are considered to be before any rules
in the style sheet itself.
Conceptually, create one
long style sheet. Later
style rules have higher
priority than earlier rules.
32. Manav
CSS Inheritance
What if no style declaration applies to a
property of an element?
Generally, the property value is inherited
from the nearest ancestor element that has a
value for the property
If no ancestor has a value (or the property
does not inherit) then CSS defines an initial
value that is used
34. Manav
CSS Inheritance
Property values:
Specified: value contained in declaration
Absolute: value can be determined without reference
to context (e.g., 2cm)
Relative: value depends on context (e.g., larger)
Computed: absolute representation of relative
value (e.g., larger might be 1.2 x parent font
size)
Actual: value actually used by browser (e.g.,
computed value might be rounded)
35. Manav
CSS Inheritance
Most properties inherit computed value
Exception discussed later: line-height
A little thought can usually tell you whether
a property inherits or not
Example: height does not inherit
36. Manav
CSS Font Properties
Glyph (visual representation)
character cell
(content area)
A font is a mapping from code points to glyphs
37. Manav
CSS Font Properties
A font is a mapping from code points to glyphs
glyphs do not necessary stay inside cells!
38. Manav
CSS Font Properties
A font family is a collection of related fonts
(typically differ in size, weight, etc.)
font-family property can accept a list of
families, including generic font families
first choice font
39. Manav
CSS Font Properties
A font family is a collection of related fonts
(typically differ in size, weight, etc.)
font-family property can accept a list of
families, including generic font families
second choice font
40. Manav
CSS Font Properties
A font family is a collection of related fonts
(typically differ in size, weight, etc.)
font-family property can accept a list of
families, including generic font families
generic
42. Manav
CSS Font Properties
Note that most generic font can be easily
set on Firefox and Chrome, but such option
doesn’t seem to be available on IE 7 and 8. IE
will still default to something although maybe
not what you had hoped for!
43. Manav
CSS Font Properties
Many properties, such as font-size, have a value that
is a CSS length
All CSS length values except 0 need units
45. Manav
CSS Font Properties
Reference font defines em and ex units
Normally, reference font is the font of the
element being styled
Exception: Using em/ex to specify value for
font-size
parent element’s font is
reference font
46. Manav
CSS Font Properties
Other ways to specify value for
font-size:
Percentage (of parent font-size)
Absolute size keyword: xx-small, x-small,
small, medium (initial value), large,
x-large, xx-large
User agent specific; should differ by ~ 20%
Relative size keyword: smaller, larger
Relative to parent element’s font
48. Manav
CSS Font Properties
Text is rendered using line boxes
Height of line box given by line-height
Initial value: normal (i.e., cell height; relationship with
em height is font-specific)
Other values (following are equivalent):
49. Manav
CSS Font Properties
When line-height is greater than cell
height:
Inheritance of line-height:
Specified value if normal or unit-less number
Computed value otherwise
51. Manav
CSS Font Properties
font shortcut property:
Initial values used if no value specified in font
property list (that is, potentially reset)
52. Manav
CSS Font Properties
font shortcut property:
specifying line-height (here, twice cell height)
any order size and family required,
order-dependent
54. Manav
CSS Text Color
Font color specified by color property
Two primary ways of specifying colors:
Color name: black, gray, silver, white, red, lime,
blue, yellow, aqua, fuchsia, maroon, green, navy,
olive, teal, purple, full list at
http://www.w3.org/TR/SVG11/types.html#ColorKey
red/green/blue (RGB) values
66. Manav
CSS Box Model
If multiple declarations apply to a property,
the last declaration overrides earlier
specifications
Left border is 30px wide,
inset style, and red
67. Manav
Backgrounds
background-color
Specifies background color for content, padding,
and border areas
Margin area is always transparent
Not inherited; initial value transparent
background-image
Specifies (using url() function) image that
will be tiled over an element
69. Manav
Normal Flow Layout
In normal flow processing, each displayed
element has a corresponding box
html element box is called initial containing
block and corresponds to entire document
Boxes of child elements are contained in boxes
of parent
Sibling block elements are laid out one on top of
the other
Sibling inline elements are one after the other
73. Manav
Normal Flow Layout
What is a “block element”?
Element with value block specified for its
display property
User agent style sheet (not CSS) specifies default
values; typical block elements include html,
body, p, pre, div, form, ol, ul, dl, hr, h1
through h6
Most other elements except li and table-related
have inline specified for display
75. Manav
Normal Flow Layout
Initial value of width property is auto, which
for block boxes means to make the content area as
wide as possible within margin/padding constraints:
Width of block boxes
increases as browser
client area is widened
76. Manav
Normal Flow Layout
Can also specify CSS length or percentage
(of parent’s content width) for width
property
By default, width of right margin is
adjusted to accommodate a change to
width
77. Manav
Normal Flow Layout
Can also specify CSS length or percentage
(of parent’s content width) for width
property
Centering can be achieved by setting
both margins to auto
78. Manav
Normal Flow Layout
Boxes corresponding to character cells and
inline elements are laid out side by side in line
boxes that are stacked one on top of the other
Character cells aligned by baseline
Heights
based on
content
80. Manav
Normal Flow Layout
Specify value for vertical-align to position
an inline element within line box:
initial
value of
vertical-
align
81. Manav
Beyond Normal Flow
CSS allows for boxes to be positioned
outside the normal flow:
Relative positioning
span’s shifted backwards relative to normal flow
82. Manav
Beyond Normal Flow
CSS allows for boxes to be positioned
outside the normal flow:
Float positioning
span taken out of normal
flow and “floated” to the
left of its line box
83. Manav
Beyond Normal Flow
CSS allows for boxes to be positioned
outside the normal flow:
Absolute positioning
span’s removed from
normal flow and
positioned relative
to another box
84. Manav
Beyond Normal Flow
Properties used to specify positioning:
position: static (initial value),
relative, or absolute
Element is positioned if this property not static
Properties left, right, top, bottom apply to
positioned elements
Primary values are auto (initial value) or CSS length
float: none, left, or right
Applies to elements with static and relative
positioning only
85. Manav
Beyond Normal Flow
Relative positioning
Specifying positive value for right property of
relatively positioned box moves it to left
<span style="background-color:red">
</span><span class="right">Red</span>
span
containing
text moves
left
86. Manav
Beyond Normal Flow
Relative positioning
Specifying negative value for left property
also moves box to left
<span style="background-color:red">
</span><span class="right">Red</span>
same
effect as
before
88. Manav
Beyond Normal Flow
Float positioning
Specify value for float property
Floated element becomes a CSS block
element (e.g., can set height and width)
89. Manav
Beyond Normal Flow
Absolute positioning
Specify location for corner of box relative to
positioned containing block
margin area
padding area
containing
block
This second paragraph has a
note.
p elements are positioned (but don’t move!)
95. Manav
CSS Position-Related Properties
display: value none means that element
and its descendants are not rendered and do
not affect normal flow
visibility: value hidden (initial
value is visible) means that element and its
descendants are not rendered but still do affect
normal flow