Here are some of the most commonly used CSS font properties:
- font-family - Specifies the font family for text (e.g. Arial, Verdana, sans-serif)
- font-size - Sets the text size (e.g. 12px, 1em, larger)
- font-style - Sets the font style to normal, italic or oblique
- font-weight - Sets the font thickness to normal, bold, bolder or lighter
- font-variant - Sets the font to normal or small-caps
- line-height - Sets the line spacing between lines of text
- text-decoration - Adds effects to text like underline, overline,
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.
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.
This document provides an introduction to Cascading Style Sheets (CSS). It explains that CSS is used to describe the presentation and formatting of HTML documents, separating content from presentation. It describes various CSS concepts like selectors, declarations, properties, values, and the CSS cascade. It also covers linking CSS to HTML through inline, embedded and external stylesheets and provides examples of each.
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.
El documento describe las características básicas de las tablas en HTML, incluyendo cómo crear tablas con las etiquetas <table>, <tr>, y <td>, y cómo usar atributos como border, colspan, rowspan, cellpadding, cellspacing, y alineación de texto.
Document Type Definitions (DTDs) define an XML document's structure using EBNF grammar. DTDs specify elements, attributes, and permitted structure. Parsers can validate documents against DTDs to check for conformity. DTDs are introduced using a document type declaration (DOCTYPE) which can reference an internal or external subset. Element declarations define elements using names (generic identifiers) and content specifications, which indicate permitted child elements and content types like PCDATA. Well-formed documents follow XML syntax rules while valid documents also conform to their DTD.
CSS (Cascading Style Sheets) is a markup language used to style and lay out web documents. There are three types of CSS: external style sheets, internal style sheets, and inline styles. External style sheets are ideal for applying styles to many pages, internal style sheets are used for styling a single document with unique styles, and inline styles are applied directly to HTML elements but lose advantages of style sheets.
CSS (Cascading Style Sheets) allows control over the visual design and layout of web pages, including colors, fonts, spacing, sizes, backgrounds, and formatting for different devices. CSS saves time and improves page load speeds compared to HTML alone. There are three main ways to apply CSS - inline within HTML tags, internal using <style> tags, and external linking a .css file. CSS properties specify various visual attributes like colors, borders, backgrounds, and font properties to control the presentation of HTML elements.
Cascading Style Sheets (CSS) - An introductionrachaelboyer
CSS (Cascading Style Sheets) is a set of rules that contains elements of style for a web page such as colors, fonts, borders and sizes. Keeping style elements separate from HTML content has advantages like cleaner HTML code, faster page loads, and the ability to efficiently make changes across many pages at once. There are different types of CSS documents including external style sheets in separate files and internal style sheets within HTML files.
Curso de "Cascading Style Sheets" ( CSS )
Mas información sobre este curso en: http://educagratis.cl/moodle/course/view.php?id=205
Siglas de "Cascading Style Sheets" (Hojas de Estilo en Cascada), es una tecnología desarrollada con el fin de separar la presentacion de la estructura del HTML. Funciona aplicando reglas de estilo a los elementos HTML, entre las que incluyen, tamaño, color de fondo, color del texto, posicion de los elementos, margenes, tipos de letra, etc... quedando de esta manera toda lo que tiene que ver con la parte gráfica de la web, separada completamente de la estructura del HTML.
....Encuentra mas cursos en: http://educagratis.cl/moodle/
This document provides an introduction to CSS (Cascading Style Sheets). It discusses key CSS concepts like selectors, properties, values and syntax. It also covers different ways to apply CSS like inline, internal and external stylesheets. Common CSS properties for formatting text like font, color, text-decoration are described. The document also discusses CSS box model and different units of measurement in CSS.
This lecture discusses web engineering and the development of high quality web applications. It begins by defining web engineering as using scientific, engineering, and management principles to successfully develop, deploy, and maintain web-based systems. It then discusses categories of web applications and quality attributes like usability, functionality, reliability, efficiency, maintainability, adaptability, and extensibility. The document emphasizes that as web applications increase in complexity, methodologies and best practices are needed for on-time and on-budget delivery of high quality applications that are easy to maintain.
The document provides information on various HTML elements including <q> for short quotations, <bdo> for reversing text direction, and <dfn> for defining terms. It also discusses elements for long quotations (<blockquote>), comments (<!-- -->), links (<a>), images (<img>), and using images as links. The document contains descriptions and syntax examples for using these various HTML elements.
Hyperlinks allow users to navigate between web resources and are defined using the <a> anchor element. Hyperlinks are underlined, blue text that change the mouse cursor to a hand icon on hover. The href attribute specifies the URL of the destination resource, which can be a web page, image, email address or location within the same or different page using anchors. Browsers render hyperlinks distinctly from normal text to indicate they are clickable links.
Cascading Style Sheets (CSS) allow separation of document structure (HTML) from presentation (styles) and behavior (scripts). CSS defines how elements are presented, including fonts, colors, spacing, and layout. Styles can be defined internally, in separate style sheets, or inline. The "cascade" combines multiple style definitions, prioritizing more specific styles. CSS enables semantic HTML, accessibility, and separation of concerns between design and content. It has largely replaced presentational HTML tags and table-based layouts.
This document summarizes various CSS concepts including grouping selectors, nesting selectors, CSS dimensions, display and visibility properties, positioning elements, overlapping elements using z-index, floats, and clearing floats. It provides examples for each concept and lists CSS properties related to dimensions, display, positioning, and floats.
An Introduction to Cascading Style Sheets (CSS3)Ardee Aram
Cascading Style Sheets (CSS) allow separation of document structure (HTML) from presentation (CSS). CSS controls how HTML elements are displayed on screen, paper, or other media. CSS works by applying styles, such as font, color, and size, to HTML elements. The cascade determines which styles are applied based on specificity and source order. CSS properties modify text, color, background, borders, boxes, positioning, and other attributes of HTML elements.
CSS (Cascading Style Sheets) allows styling and formatting of HTML documents. CSS separates formatting from HTML content to make web pages more modular and customizable. There are three ways to apply CSS - internal style sheets within HTML <style> tags, inline styles within HTML elements, and external style sheets in separate .css files. CSS rules define selectors, properties, and values to style HTML elements.
CSS (Cascading Style Sheets) allows separation of HTML structure from presentation by controlling formatting properties like fonts, colors, and layout. CSS declarations can be embedded within HTML, linked via external stylesheets, or applied inline. Selectors target elements by tag name, class, ID, and other attributes to style them.
CSS is used to style and lay out web pages. It allows control over text formatting, element sizing and positioning, and other design elements. There are different types of CSS including inline, embedded, and external stylesheets. CSS selectors are used to target specific HTML elements for styling. Common CSS properties control elements like text styling, links, borders, positioning, and more.
The seminar covered the history and introduction of CSS, what CSS is, why it's used, CSS syntax including selectors and properties, and ways to insert CSS like external, internal, and inline styles. CSS was first proposed in 1994 and has evolved through levels 1, 2, 2.1, and 3. It allows separating design from HTML for easier maintenance, centralized styling across pages, and reduced file sizes. Syntax uses selectors and declarations with properties and values. Comments can explain code. CSS properties control various aspects of text, fonts, backgrounds, and lists.
CSS (Cascading Style Sheets) allows styling and formatting of HTML documents. CSS styles are defined using selectors and properties, and can be applied internally within HTML or externally via linked stylesheet files. CSS properties specify values that control things like text color and alignment, background colors, font types and more.
The document discusses the basics of Cascading Style Sheets (CSS), including its syntax, selectors, properties for styling text, links, backgrounds, and positioning elements. CSS is a stylesheet language that allows styling and layout of web pages written in HTML and other markup languages to specify things like colors, fonts, spacing and positioning of elements.
The document discusses cascading style sheets (CSS), which allow for flexible formatting of HTML elements through style rules. CSS rules can define font properties, text styling, foreground and background properties, and more. CSS rules are applied hierarchically based on precedence rules. The document provides examples of specifying inline, internal, and external CSS style sheets to style HTML elements and text.
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
Introduction to Cascading Style SheetsTushar Joshi
The document provides an introduction to Cascading Style Sheets (CSS) including basic concepts such as using CSS to redefine HTML tags, common properties, and simple CSS rules. It describes different methods of containing CSS code in HTML documents and explains concepts like inheritance, selectors, grouping, and the CSS box model.
The document discusses XML schemas, explaining that they define elements, attributes, and data types that can be used in XML documents. It covers creating simple and complex elements, declaring data types, and grouping elements using sequences, groups, and choices. The document also provides examples of how to define attributes and create user-defined data types in an XML schema.
CSS allows styling of HTML elements through style rules defined in internal or external style sheets. A style rule has a selector that specifies the element to style and declarations that define the properties and values to apply. External style sheets can control styling across multiple pages by linking the style sheet to each page. Common CSS properties include font, color, size and other text properties that can be applied through class or element selectors to groups of elements.
This document provides an overview of CSS (Cascading Style Sheets) including definitions, advantages, properties and techniques. It defines CSS as defining how HTML elements are displayed and styles being stored in style sheets. Advantages of CSS include reduced code/page size, easier design/maintenance. Style rules define how to change default element behaviors and have selectors and declarations. External style sheets can apply styles across pages by linking via <LINK>. CSS selection techniques include selecting multiple elements, by context, with classes, <DIV> and <SPAN>. Font properties that can be controlled include family, size, weight, line height and color.
CSS (Cascading Style Sheets) allows control over the visual design and layout of web pages, including colors, fonts, spacing, sizes, backgrounds, and formatting for different devices. CSS saves time and improves page load speeds compared to HTML alone. There are three main ways to apply CSS - inline within HTML tags, internal using <style> tags, and external linking a .css file. CSS properties specify various visual attributes like colors, borders, backgrounds, and font properties to control the presentation of HTML elements.
Cascading Style Sheets (CSS) - An introductionrachaelboyer
CSS (Cascading Style Sheets) is a set of rules that contains elements of style for a web page such as colors, fonts, borders and sizes. Keeping style elements separate from HTML content has advantages like cleaner HTML code, faster page loads, and the ability to efficiently make changes across many pages at once. There are different types of CSS documents including external style sheets in separate files and internal style sheets within HTML files.
Curso de "Cascading Style Sheets" ( CSS )
Mas información sobre este curso en: http://educagratis.cl/moodle/course/view.php?id=205
Siglas de "Cascading Style Sheets" (Hojas de Estilo en Cascada), es una tecnología desarrollada con el fin de separar la presentacion de la estructura del HTML. Funciona aplicando reglas de estilo a los elementos HTML, entre las que incluyen, tamaño, color de fondo, color del texto, posicion de los elementos, margenes, tipos de letra, etc... quedando de esta manera toda lo que tiene que ver con la parte gráfica de la web, separada completamente de la estructura del HTML.
....Encuentra mas cursos en: http://educagratis.cl/moodle/
This document provides an introduction to CSS (Cascading Style Sheets). It discusses key CSS concepts like selectors, properties, values and syntax. It also covers different ways to apply CSS like inline, internal and external stylesheets. Common CSS properties for formatting text like font, color, text-decoration are described. The document also discusses CSS box model and different units of measurement in CSS.
This lecture discusses web engineering and the development of high quality web applications. It begins by defining web engineering as using scientific, engineering, and management principles to successfully develop, deploy, and maintain web-based systems. It then discusses categories of web applications and quality attributes like usability, functionality, reliability, efficiency, maintainability, adaptability, and extensibility. The document emphasizes that as web applications increase in complexity, methodologies and best practices are needed for on-time and on-budget delivery of high quality applications that are easy to maintain.
The document provides information on various HTML elements including <q> for short quotations, <bdo> for reversing text direction, and <dfn> for defining terms. It also discusses elements for long quotations (<blockquote>), comments (<!-- -->), links (<a>), images (<img>), and using images as links. The document contains descriptions and syntax examples for using these various HTML elements.
Hyperlinks allow users to navigate between web resources and are defined using the <a> anchor element. Hyperlinks are underlined, blue text that change the mouse cursor to a hand icon on hover. The href attribute specifies the URL of the destination resource, which can be a web page, image, email address or location within the same or different page using anchors. Browsers render hyperlinks distinctly from normal text to indicate they are clickable links.
Cascading Style Sheets (CSS) allow separation of document structure (HTML) from presentation (styles) and behavior (scripts). CSS defines how elements are presented, including fonts, colors, spacing, and layout. Styles can be defined internally, in separate style sheets, or inline. The "cascade" combines multiple style definitions, prioritizing more specific styles. CSS enables semantic HTML, accessibility, and separation of concerns between design and content. It has largely replaced presentational HTML tags and table-based layouts.
This document summarizes various CSS concepts including grouping selectors, nesting selectors, CSS dimensions, display and visibility properties, positioning elements, overlapping elements using z-index, floats, and clearing floats. It provides examples for each concept and lists CSS properties related to dimensions, display, positioning, and floats.
An Introduction to Cascading Style Sheets (CSS3)Ardee Aram
Cascading Style Sheets (CSS) allow separation of document structure (HTML) from presentation (CSS). CSS controls how HTML elements are displayed on screen, paper, or other media. CSS works by applying styles, such as font, color, and size, to HTML elements. The cascade determines which styles are applied based on specificity and source order. CSS properties modify text, color, background, borders, boxes, positioning, and other attributes of HTML elements.
CSS (Cascading Style Sheets) allows styling and formatting of HTML documents. CSS separates formatting from HTML content to make web pages more modular and customizable. There are three ways to apply CSS - internal style sheets within HTML <style> tags, inline styles within HTML elements, and external style sheets in separate .css files. CSS rules define selectors, properties, and values to style HTML elements.
CSS (Cascading Style Sheets) allows separation of HTML structure from presentation by controlling formatting properties like fonts, colors, and layout. CSS declarations can be embedded within HTML, linked via external stylesheets, or applied inline. Selectors target elements by tag name, class, ID, and other attributes to style them.
CSS is used to style and lay out web pages. It allows control over text formatting, element sizing and positioning, and other design elements. There are different types of CSS including inline, embedded, and external stylesheets. CSS selectors are used to target specific HTML elements for styling. Common CSS properties control elements like text styling, links, borders, positioning, and more.
The seminar covered the history and introduction of CSS, what CSS is, why it's used, CSS syntax including selectors and properties, and ways to insert CSS like external, internal, and inline styles. CSS was first proposed in 1994 and has evolved through levels 1, 2, 2.1, and 3. It allows separating design from HTML for easier maintenance, centralized styling across pages, and reduced file sizes. Syntax uses selectors and declarations with properties and values. Comments can explain code. CSS properties control various aspects of text, fonts, backgrounds, and lists.
CSS (Cascading Style Sheets) allows styling and formatting of HTML documents. CSS styles are defined using selectors and properties, and can be applied internally within HTML or externally via linked stylesheet files. CSS properties specify values that control things like text color and alignment, background colors, font types and more.
The document discusses the basics of Cascading Style Sheets (CSS), including its syntax, selectors, properties for styling text, links, backgrounds, and positioning elements. CSS is a stylesheet language that allows styling and layout of web pages written in HTML and other markup languages to specify things like colors, fonts, spacing and positioning of elements.
The document discusses cascading style sheets (CSS), which allow for flexible formatting of HTML elements through style rules. CSS rules can define font properties, text styling, foreground and background properties, and more. CSS rules are applied hierarchically based on precedence rules. The document provides examples of specifying inline, internal, and external CSS style sheets to style HTML elements and text.
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
Introduction to Cascading Style SheetsTushar Joshi
The document provides an introduction to Cascading Style Sheets (CSS) including basic concepts such as using CSS to redefine HTML tags, common properties, and simple CSS rules. It describes different methods of containing CSS code in HTML documents and explains concepts like inheritance, selectors, grouping, and the CSS box model.
The document discusses XML schemas, explaining that they define elements, attributes, and data types that can be used in XML documents. It covers creating simple and complex elements, declaring data types, and grouping elements using sequences, groups, and choices. The document also provides examples of how to define attributes and create user-defined data types in an XML schema.
CSS allows styling of HTML elements through style rules defined in internal or external style sheets. A style rule has a selector that specifies the element to style and declarations that define the properties and values to apply. External style sheets can control styling across multiple pages by linking the style sheet to each page. Common CSS properties include font, color, size and other text properties that can be applied through class or element selectors to groups of elements.
This document provides an overview of CSS (Cascading Style Sheets) including definitions, advantages, properties and techniques. It defines CSS as defining how HTML elements are displayed and styles being stored in style sheets. Advantages of CSS include reduced code/page size, easier design/maintenance. Style rules define how to change default element behaviors and have selectors and declarations. External style sheets can apply styles across pages by linking via <LINK>. CSS selection techniques include selecting multiple elements, by context, with classes, <DIV> and <SPAN>. Font properties that can be controlled include family, size, weight, line height and color.
This document provides an overview of Cascading Style Sheets (CSS) including:
- CSS allows separation of document content from page layout/formatting through external style sheets or internal styles defined in <style> tags.
- CSS has three levels (CSS1, CSS2, CSS3) that add new capabilities. CSS handles properties like fonts, sizes, colors, spacing and positioning of HTML elements.
- Styles can be applied via internal, embedded, or external stylesheets. Inheritance allows CSS rules to apply to child elements. Conflicting styles are resolved through a cascading priority system.
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 is css which compiled by alex that is impoAlebelAyalneh
This document provides an overview of the module "Developing cascading style sheets". It discusses key topics like what CSS is, its benefits, style rule locations, the cascading model of style definitions, and the three types of stylesheets (internal/embedded, external, and inline). CSS is a style sheet language used to describe the presentation of HTML documents, including colors, layout, fonts etc. It separates document content from document presentation for better maintenance.
“A STYLE RULE IS A SET OF HTML TAGS SPECIFYING THE FORMATTING ELEMENTS.”
Style rules can be applied to selected contents of a web page.
A style rule can basically be split into two parts:
(a) Selector: A selector is a string that identifies what elements the corresponding rule applies to and is the first part of the rule.
(b) Declaration: This part of the rule is enclosed within curly brackets. A declaration has two sections separated by a colon. The section before the colon tells the property, and the section after the colon is the value of that property.
Lesson One Fourth Quarter Fourth Year High School CSS Modern Layout and StylePerry Mallari
CSS (Cascading Style Sheets) is a language that defines how HTML elements are displayed on different devices. CSS separates document structure from presentation by defining styles like colors and fonts that are applied to elements. There are three ways to implement CSS - inline within HTML elements, embedded within <style> tags in the head section, or through an external .css stylesheet linked via the <link> tag. External stylesheets allow styles to be defined once and applied across multiple pages for consistency.
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, on paper, in speech, or on other media. CSS saves time because styles defined in CSS files can be reused across multiple HTML pages. It provides more control over formatting than HTML alone and helps separate a document's content from its presentation. The document then explains various CSS concepts like selectors, properties, syntax, and how to apply styles using internal, external and inline CSS.
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 an introduction to CSS (Cascading Style Sheets) through a teaching presentation. It defines CSS, describes style rules and selectors like id and class, and explains the three ways to apply CSS - external, internal, and inline style sheets. The presentation includes examples and resources for learning more about CSS.
This document discusses Cascading Style Sheets (CSS). CSS is a style language that specifies layout of HTML documents. It allows separation of page structure (HTML) from page presentation (CSS). CSS offers formatting elements and ability to control layout from a single style sheet. CSS syntax uses selectors to target HTML elements and properties to set values. There are three CSS styles - inline within HTML tags, internal within <style> tags in <head>, and external in a .css file linked via <link> tag.
The document defines CSS (Cascading Style Sheets) and its advantages over HTML. CSS describes how HTML elements are displayed, controls layout, and saves work by allowing styles to be reused across pages. There are three ways to add CSS - inline using the style attribute, internally using the <style> tag, or externally using a separate .css file which is most common. CSS rules have selectors, properties, and values to style elements.
CSS (Cascading Style Sheets) allows you to control the style and layout of HTML documents. There are three ways to apply CSS - inline styles within HTML tags, internal styles within <style> tags in the head section, or external styles in a separate .css file linked via <link> tags. CSS rules contain selectors that specify elements to style and declarations that define properties like color, font, size and layout. For example, the rule h1 {color: navy;} would make all <h1> text navy blue. External stylesheets are best for applying styles across many pages by changing one .css file.
HTML is a markup language used to structure web pages and define their content and presentation. It uses tags to mark elements like headings, paragraphs, lists, and more. CSS is used to style and lay out HTML elements, allowing separation of documentation structure and presentation. It helps make pages load faster, is easier to maintain globally, and has more styling options than HTML alone. CSS specifications are created and maintained by the W3C CSS Working Group and become recommendations when ratified.
This document provides an introduction to CSS (Cascading Style Sheets) through a series of lessons:
1. The history and purpose of CSS is discussed, noting that it was proposed in 1994 to help solve formatting problems in HTML.
2. CSS syntax and structure are explained, including selectors, properties and values, declarations, and declaration blocks. Examples are provided of how CSS can be used to style HTML elements.
3. Additional CSS selectors like classes and IDs are covered, along with creating comments in CSS. Students are assigned to create basic CSS pages demonstrating these concepts.
4. Methods for applying CSS styles are reviewed, including inline, internal, and external styling. Best practices
CSS stands for Cascading Style Sheets. It is a way to divide the content from the layout on web pages.
How it works:
A style is a definition of fonts, colors, etc.
Each style has a unique name: a selector.
The selectors and their styles are defined in one place.
In your HTML contents you simply refer to the selectors whenever you want to activate a certain style.
The Elphinstonian 1988-College Building Centenary Number (2).pdfMukesh Tekwani
This is the 1988 issue of The Elphinstonian, the annual magazine of Elphinstone College, Mumbai. This is the special issue to commemorate the Century of the Elphinstone College Building in Mumbai.
This document contains lecture notes on various topics related to gravitation and orbital mechanics:
1. It defines Newton's law of gravitation and the gravitational constant G.
2. It discusses the difference between G and g, the acceleration due to gravity, and derives the relation between the two.
3. It then covers concepts like the critical velocity, time period, binding energy, and escape velocity required for a satellite to orbit or escape the gravitational pull of Earth.
4. Additional topics include weightlessness in satellites, variation of g with altitude and depth, and the definition of latitude.
ISCE-Class 12-Question Bank - Electrostatics - PhysicsMukesh Tekwani
This is a 14 page question bank on the chapters of Electrostatics. This is based on the syllabus of most Board exams such as CBSE, ISCE and state boards.
Extremely important topic for Digital electronics, digital circuits, computer architecture and computer science.
Full video is available on Youtube: https://youtu.be/oyOaXqx06pY
This video explains the method of converting a decimal number to a binary number. Many solved examples are given here and also two exercises which you can attempt on your own and then check the answers.
I have also discussed the concept of LSB (least significant bit) and MSB (most significant bit), and also least significant digit (LSD) and most significant digit (MSD).
This topic is important for following courses: class 11 and 12 computer science of all state boards, class 11 and 12 physics, BSc Computer science, BSc IT, MCA (Masters degree in Computer Applications), BTech, BE (First Year), and many competitive examinations.
Free Lectures on YouTube for IGCSE Physics for the syllabus effective 2020-21. These lectures cover the syllabus of IGCSE and a major part of GCSE syllabus also.
1. The Hidden Meaning of Words in Science Question Papers
2. Scientific Notation or Powers of Ten Notation
3. Units and Base Quantities
4. What is Physics?
Refraction and dispersion of light through a prismMukesh Tekwani
This document contains 20 important theory questions about refraction and dispersion of light through a prism. Some key topics covered are:
1) The angle of deviation of light passing through a prism depends on factors like the refracting angle of the prism and the angle of incidence of light.
2) When white light passes through a prism, it disperses into its constituent colors due to the refractive index of the material being different for different wavelengths of light.
3) In the position of minimum deviation, the angles of incidence and refraction of a monochromatic light ray passing through a prism are related to the refracting angle of the prism.
This document contains important theory questions about refraction of light at a plane surface and total internal reflection. It includes 24 multiple choice and derivation questions covering topics such as Snell's law, refractive index, critical angle, total internal reflection, mirages, reflecting prisms, reversing prisms, erecting prisms, optical fibers, and their applications. The document was prepared by Mukesh N Tekwani and provides a comprehensive review of key concepts and formulas relating to the refraction and total internal reflection of light.
This document contains 10 important theory questions about spherical mirrors. It defines key terms used to describe spherical mirrors such as pole, center of curvature, radius of curvature, principal axis, aperture, principal focus, focal length and focal plane. It also derives several important relationships for spherical mirrors, including that the focal length of a concave or convex mirror of small aperture is half the radius of curvature, and the mirror formula relating the focal length to the object and image distances. Finally, it derives the magnification formula for concave mirrors and asks which type of spherical mirror is preferable for observing traffic from a car.
Atom, origin of spectra Bohr's theory of hydrogen atomMukesh Tekwani
This document contains 15 important theory questions about Rutherford's alpha particle scattering experiment, Rutherford's model of the atom, its limitations, Bohr's model of the hydrogen atom, Bohr's postulates, expressions for the stationary and kinetic energy levels of an electron in the hydrogen atom, the energy level diagram for hydrogen showing different emission series, and definitions of terms like Rydberg constant, excitation potential, and ionization potential. The questions are related to key experiments and models in the development of atomic structure and spectra.
Refraction of light at spherical surfaces of lensesMukesh Tekwani
This document contains 15 important theory questions about refraction of light at spherical surfaces and lenses. It includes questions about sign convention in optics, the optical center of a lens, focal length of concave and convex lenses, lens maker's formula, derivation of expressions for refraction at single spherical surfaces and thin lens combinations, linear magnification by a lens, location of a virtual image formed by a convex lens based on focal length, dependence of focal length on wavelength, definition and unit of power of a lens, definition of 1 dioptre, formula for combined power of two lenses in contact, and laws governing image formation by lenses. The questions cover key concepts like derivation, definition, diagrams, formulas, and image formation.
This document outlines the unit-wise weightage for the February 2020 ISCE Class 12 Physics board exam. Unit 3 on Magnetic Effects of Current and Magnetism has the highest weightage at 16. Other highly weighted units include Electromagnetic Induction and Alternating Currents at 14, and Optics at 12. The lowest weighted units are Communication Systems at 2 and Electronic Devices at 8.
What is Cyber Law? Why is cyber security law needed? International cyber law. What is copyright? What are security, controls, privacy, piracy and ethics? Code of ethics for computer professionals. What is cyber insurance?
The document discusses the disadvantages of HTML and the advantages of using XML instead. It notes that HTML lacks structure, syntax checking, and is not suitable for data interchange or describing semantics. XML was designed to store, describe, and transport data, unlike HTML which was designed for display. XML simplifies data sharing and transport between applications since it separates data from presentation and uses plain text. It also allows for international character support and makes data more available and reusable.
This presentation discusses various social media platforms and provides information on social media, social media analytics, and social media marketing. It defines social media as online communication channels used for sharing content and collaboration. It explains that social media analytics involves gathering and analyzing data from social media sites to make business decisions. Social media marketing aims to create shareable content to expose brands and increase reach. The presentation then outlines popular social media platforms like Facebook, Twitter, LinkedIn, Wikipedia and Pinterest, describing their basic uses and features. It concludes with discussing precautions to take when using these social media sites.
"Orthoptera: Grasshoppers, Crickets, and Katydids pptxArshad Shaikh
Orthoptera is an order of insects that includes grasshoppers, crickets, and katydids. Characterized by their powerful hind legs, Orthoptera are known for their impressive jumping ability. With diverse species, they inhabit various environments, playing important roles in ecosystems as herbivores and prey. Their sounds, often produced through stridulation, are distinctive features of many species.
Understanding-the-Weather.pdf/7th class/social/ 2nd chapter/Samyans Academy n...Sandeep Swamy
Weather shapes our world and daily lives. This presentation explores how we measure weather conditions and use predictions to prepare for various weather events. "A change in the weather is sufficient to create the world and oneself anew." - Marcel Proust, French novelist by sandeep swamy
How to Configure Subcontracting in Odoo 18 ManufacturingCeline George
Subcontracting in manufacturing involves outsourcing specific production tasks to external vendors or subcontractors. These tasks may include manufacturing certain components, handling assembly processes, or even producing entire product lines.
This article explores the miraculous event of the Splitting of the Moon (Shaqq al-Qamar) as recorded in Islamic scripture and tradition. Drawing from the Qur'an, authentic hadith collections, and classical tafsir, the article affirms the event as a literal miracle performed by Prophet Muhammad ﷺ in response to the Quraysh’s demand for a sign. It also investigates external historical accounts, particularly the legend of Cheraman Perumal, a South Indian king who allegedly witnessed the miracle and embraced Islam. The article critically examines the authenticity and impact of such regional traditions, while also discussing the lack of parallel astronomical records and how scholars have interpreted this event across centuries. Concluding with the theological significance of the miracle, the article offers a well-rounded view of one of Islam’s most discussed supernatural events.
The philosophical basis of curriculum refers to the foundational beliefs and values that shape the goals, content, structure, and methods of education. Major educational philosophies—idealism, realism, pragmatism, and existentialism—guide how knowledge is selected, organized, and delivered to learners. In the digital age, understanding these philosophies helps educators and content creators design curriculum materials that are purposeful, learner-centred, and adaptable for online environments. By aligning educational content with philosophical principles and presenting it through interactive and multimedia formats.
This study describe how to write the Research Paper and its related issues. It also presents the major sections of Research Paper and various tools & techniques used for Polishing Research Paper
before final submission.
Finding a Right Journal and Publication Ethics are explain in brief.
CURRENT CASE COUNT: 880
• Texas: 729 (+5) (56% of cases are in Gaines County)
• New Mexico: 78 (+4) (83% of cases are from Lea County)
• Oklahoma: 17
• Kansas: 56 (38.89% of the cases are from Gray County)
HOSPITALIZATIONS: 103
• Texas: 94 - This accounts for 13% of all cases in the State.
• New Mexico: 7 – This accounts for 9.47% of all cases in New Mexico.
• Kansas: 2 - This accounts for 3.7% of all cases in Kansas.
DEATHS: 3
• Texas: 2 – This is 0.28% of all cases
• New Mexico: 1 – This is 1.35% of all cases
US NATIONAL CASE COUNT: 1,076 (confirmed and suspected)
INTERNATIONAL SPREAD
• Mexico: 1,753 (+198) 4 fatalities
‒ Chihuahua, Mexico: 1,657 (+167) cases, 3 fatalities, 9 hospitalizations
• Canada: 2518 (+239) (Includes Ontario’s outbreak, which began November 2024)
‒ Ontario, Canada: 1,795 (+173) 129 (+10) hospitalizations
‒ Alberta, Canada: 560 (+55)
Things to keep an eye on:
Mexico: Three children have died this month (all linked to the Chihuahua outbreak):
An 11-month-old and a 7-year-old with underlying conditions
A 1-year-old in Sonora whose family is from Chihuahua
Canada:
Ontario now reports more cases than the entire U.S.
Alberta’s case count continues to climb rapidly and is quickly closing in on 600 cases.
Emerging transmission chains in Manitoba and Saskatchewan underscore the need for vigilant monitoring of under-immunized communities and potential cross-provincial spread.
United States:
North Dakota: Grand Forks County has confirmed its first cases (2), linked to international travel. The state total is 21 since May 2 (including 4 in Cass County and 2 in Williams County), with one hospitalization reported.
OUTLOOK: With the spring–summer travel season peaking between Memorial Day and Labor Day, both domestic and international travel may fuel additional importations and spread. Although measles transmission is not strictly seasonal, crowded travel settings increase the risk for under-immunized individuals.
"Dictyoptera: The Order of Cockroaches and Mantises" Or, more specifically: ...Arshad Shaikh
Dictyoptera is an order of insects that includes cockroaches and praying mantises. These insects are characterized by their flat, oval-shaped bodies and unique features such as modified forelegs in mantises for predation. They inhabit diverse environments worldwide.
Drug Metabolism advanced medicinal chemistry.pptxpharmaworld
This document describes about structural metabolism relationship and drug designing and toxicity of drugs in " DRUG METABOLISM"
In Drug Metabolism is the process of converting a drug into product or inert substances after or before reaching at the site of action.
Metabolism plays an important role in elimination of drugs and foreign substance from the body.
The metabolism of any drug is generally characterised by two phases of reaction
1.Metabolic transformation ( biotransformation ) and
2.Conjugation
The Principal site of drug metabolism is the liver, but the kidney, lungs, and GIT also are important metabolic sites.
The enzymatic bio transformations of drugs is known as Drug Metabolism. Because many drugs have structures similar to those of endogenous compounds , drugs may get metabolised by specific enzymes for the related natural substrates as well as by non-specific enzymes.
Reaction type of Phase-I:
1.Oxidation
2.Reduction
3.Hydrolysis
Most drugs are metabolised ,atleast to some extent , by both phases of metabolism.
Example: Metabolism of Aspirin
Acetyl Salicylic acid undergoes hydrolysis to salicylic acid ( metabolic transformation ), which is then conjugated with glycine to form Salicyluric acid ( Conjugation ).
In Phase-II the metabolites formed in Phase-II are converted to more polar and water soluble product by attaching polar and ionisable moiety such as
1.Glucuronic acid
2.Glycine
3.Glutamine
4.Glutathione conjugation
5.Acetylation
6.Methylation
7.Sulfate conjugation
8.Nucleoside and Nucleotide formation
9.Amino Acid Conjugation
10.Fatty Acid and Cholesterol Conjugation
Drug design is the process of creating new drugs by using knowledge of a biological target.
Drug design considers metabolism to optimize pharmaco kinects ( ADME: Absorption , Distribution , Metabolism , Excretion )
Cytochrome CYP450 enzyme in Drug Metabolism is vital in drug design to enhance efficacy , reduce toxicity and improve bioavailability.
Cytochrome P450 enzymes (CYPs) are a superfamily of heme -containing proteins found from bacteria to human.
Cytochrome P-450 activity in various organs like Liver,Lung ,Kidney , Intestine,Placenta
Adrenal and Skin and they shows the relative activity with repect to their organs in the process of drug metabolism.
Most important CYP450 enzymes are CYP1A2 , CYP2C9 , CYP2E1
,etc...
Toxic Effects of Drug Metabolism
Toxicity: Accumulation of Excess of medications in the Blood Stream.
Ariens (1948) and Mitchell and Horning (1984) deal with this topic.
Some examples of Metabolism-Linked Toxicity are
1.Acetaminophen (paracetmol)
2.Isoniazid ( TB drug)
3.Chloroform
4.Dapsone
5.Diazepam
6.Salicylate
7.Halothane (Anesthetic)
8.Tamoxifen (Breast Cancer drug )
9.Clozapine(Antipsychotic)
These drugs are differentiates with the TOXIC METABOLITE , TOXICITY OF METABOLITE.
References for this topic also mentioned at the end.
Drug Metabolism advanced medicinal chemistry.pptxpharmaworld
CSS-Cascading Style Sheets - Introduction
1. CSS
CASCADING STYLE SHEETS
Mukesh N. Tekwani
Computer Science & Physics
mukeshtekwani@hotmail.com
I. Y. College, Mumbai, India
2. WHAT IS CSS?
January 2012
CSS stands for Cascading Style Sheets
CSS defines HOW to display HTML elements
Prof. Mukesh N. Tekwani
Styles are normally stored in Style Sheets
External Style Sheets can save you a lot of work
External Style Sheets are stored in CSS files
Multiple style definitions will cascade into one
CSS selects an element and sets the rules for that
element. These set of rules are known as style
sheets and can be in the HEAD section of an HTML
document or in an external style sheet.
2
3. CSS RULES
January 2012
A CSS rule has 2 parts: a selector, and one or more
declarations:
Prof. Mukesh N. Tekwani
Selector Declaration
H1 {color:blue; font-size:12px;)
Here, color is the property and blue is the value of that
property.
The selector is the HTML element that we want to style.
The property is the attribute we want to change. Each
attribute has a value.
CSS property names are separated by dashes when
they are multiple words—for example, font-face, font- 3
size, line-height, and so on.
4. WHAT IS THE NEED FOR CSS?
(OR WHAT ARE THE ADVANTAGES OF CSS?)
January 2012
HTML pages use a lot of markup to style the pages.
Prof. Mukesh N. Tekwani
There can be very complex structures of
tables, nested frames, invisible pixel images for
layout, etc.
This makes HTML page difficult to render for the
browser.
4
5. WHAT IS THE NEED FOR CSS?
(OR WHAT ARE THE ADVANTAGES OF CSS?)
January 2012
Code: CSS is the standard for coding in HTML. CSS is
compatible with most browsers. CSS reduces the length of the
codes of web page, which decreases the page size, making it
easy and fast to load in browsers
Prof. Mukesh N. Tekwani
Design: Use of CSS makes the design simple. CSS makes the
management of the entire website easy to maintain by just
changing the CSS file which contains the style details.
Bandwidth: CSS reduces the HTML coding and page size. This
reduces the bandwidth usage.
Consistency: It is easy to maintain, handle and control the
whole website made on CSS based HTML. Ex: Suppose we want
to change the background of the entire website, we just need to
change the background of the single page in the style sheet and
the background of the whole website will change. 5
6. WHAT IS MEANT BY STYLE RULES?
January 2012
A style rule is used to change the default behavior
of an HTML element. All style rules are contained in
Prof. Mukesh N. Tekwani
the <STYLE> element and this is put in the HEAD
section of an HTML document.
A style rule is made up of 2 parts: a selector and a
declaration. The selector determines the element
to which the style is to be applied. The declaration
gives the exact property values.
6
7. WHAT IS MEANT BY STYLE RULES?
January 2012
Consider the <P> element. We can create a style rule for this
<P> element so that all paragraphs are in blue color and have
a font size of 24px. The style rule is as follows:
Prof. Mukesh N. Tekwani
<STYLE>
P {COLOR:BLUE; FONT-SIZE:24px}
</STYLE>
Consider the <H1> element. We can create a style for this
element so that all H1 headings are in red color.
<STYLE TYPE = “TEXT/CSS”>
H1 {COLOR:RED}
7
</STYLE>
8. DEFINING THE STYLE FOR A SINGLE ELEMENT:
January 2012
We can define the style for a single element as
follows:
Prof. Mukesh N. Tekwani
<H1 STYLE =”COLOR:BLUE”>This is a
heading</H1>
This direct use of CSS is called inline style and is
not recommended due to the tight coupling
between the HTML document and the style.
8
9. TRY…
January 2012
Write a style rule so that every <H1> element on
your web site is in green color and centered.
Prof. Mukesh N. Tekwani
H1 {COLOR:GREEN; TEXT-ALIGN:CENTER}
9
10. EXTERNAL STYLE SHEET:
January 2012
Placing style sheets in an external document lets
you specify rules for different HTML documents. An
Prof. Mukesh N. Tekwani
external style sheet is a text document with the file
name extension of .CSS. This external style sheet
contains the style rules for various elements.
10
11. EXTERNAL STYLE SHEET:
January 2012
/* stylesheet 1 */
H1 {COLOR:GREEN}
H2 {COLOR:GREEN; BORDER:SOLID BLUE}
Prof. Mukesh N. Tekwani
(Other option for SOLID is DOTTED)
The CSS line begins with a comment. The CSS style sheet
does not contain any HTML code.
To link this external style sheet to an HTML document, we add
the <LINK> element in the HEAD section of an HTML
document:
<HEAD>
<TITLE>Sample document</TITLE>
<LINK HREF = “style1.css” REL = “stylesheet”>
</HEAD> 11
12. EXTERNAL STYLE SHEET:
January 2012
The HTML file containing this code displays with the
characteristics given in the style sheet.
Prof. Mukesh N. Tekwani
The HREF attribute gives the URL of the stylesheet.
The REL attribute specifies the relationship
between the linked and the current document.
The major advantage of external style sheets is
that the styles can apply to all the web pages on a
site. In order to make global changes, we just have
to modify the external style sheet.
12
13. DIFFERENT CSS SELECTION TECHNIQUES
January 2012
Selecting Multiple Elements:
By using multiple selectors, we can use less code. E.g., to make both
<H1> and <H2> headings green, we can use the following rules:
Prof. Mukesh N. Tekwani
<STYLE TYPE = “TEXT/CSS”>
<H1> {COLOR:GREEN}
<H2> {COLOR:GREEN}
</STYLE>
These two rules can be expressed in a single rule statement using
multiple selectors for the same property as follows:
<STYLE TYPE = “TEXT/CSS”>
H1, H2 {COLOR:GREEN}
</STYLE>
13
14. DIFFERENT CSS SELECTION TECHNIQUES
January 2012
Selecting by Context:
A context-based selector lets you specify the exact context in
which a style is applied.
Prof. Mukesh N. Tekwani
For example, to specify that the <I> elements appear in blue
color only within the <H1> elements, we create the style rule as
follows:
<STYLE TYPE = “TEXT/CSS”>
H1 I {COLOR:BLUE}
</STYLE>
Note: We should not place a comma between the element H1
and I in the above example. Otherwise it will turn a contextual
selection into a multiple element selection and blue color text will
apply to both H1 headings and Italic text.
14
So don’t write this: H1 , I {COLOR:BLUE}
15. DIFFERENT CSS SELECTION TECHNIQUES
January 2012
Selecting with the CLASS attribute:
The CLASS attribute lets you write rules and then apply them to
groups of elements. Basically the CLASS attribute lets you define
Prof. Mukesh N. Tekwani
your own tags and apply them wherever you want.
To create a class, we first declare it within the <STYLE> element.
The period (.) flag character indicates that the selector is a class
selector.
<STYLE TYPE = “TEXT/CSS”>
.QUOTE {COLOR:RED}
</STYLE>
Applying this style to a paragraph:
<P CLASS=”QUOTE”> This is a paragraph </P> 15
16. WHAT ARE THE CSS FONT PROPERTIES?
January 2012
The following font properties can be controlled with
CSS:
Prof. Mukesh N. Tekwani
Font families and alternates
Font size
Font weight
Line height
Letter spacing
Text indent
16
Color
17. WHAT ARE THE CSS FONT PROPERTIES?
January 2012
Example 1: Create a style rule that
specifies Arial as the font for the <P>
Prof. Mukesh N. Tekwani
element.
<STYLE TYPE=”TEXT/CSS”>
P {FONT-FAMILY:ARIAL}
</STYLE>
17
18. WHAT ARE THE CSS FONT PROPERTIES?
January 2012
Example 2: Create a style rule that
specifies Arial as the font for the <P>
Prof. Mukesh N. Tekwani
element. In case Arial font is not
available, use the Helvetica font.
<STYLE TYPE=”TEXT/CSS”>
P {FONT-FAMILY:ARIAL, HELVETICA}
</STYLE>
18
19. WHAT ARE THE CSS FONT PROPERTIES?
January 2012
Example 3: Create a style rule that specifies
Arial as the font for the <P> element. In case
Arial font is not available, use the Helvetica
Prof. Mukesh N. Tekwani
font. In case this too is not available, use a
generic font like sans-serif.
<STYLE TYPE=”TEXT/CSS”>
P {FONT-FAMILY:ARIAL, HELVETICA,
SANS-SERIF}
</STYLE>
The generic names we can use are:
Monospace, Serif and Sans-serif. 19
20. WHAT ARE THE CSS FONT PROPERTIES?
January 2012
Specifying Text Background Color:
Example 4: We can set the text background
Prof. Mukesh N. Tekwani
color (i.e., the color behind the text) for any
element, by using the BACKGROUND-
COLOR property, as follows:
<STYLE TYPE=”TEXT/CSS”>
H2 {COLOR:WHITE; BACKGROUND-
COLOR:BLUE}
</STYLE>
20
21. WHAT IS THE CLASS SELECTOR IN CSS?
January 2012
The CLASS attribute lets you write rules and then apply them to
groups of elements.
The CLASS attribute lets you define your own tags and apply
Prof. Mukesh N. Tekwani
them wherever you want.
To create a class, we first declare it within the <STYLE> element.
The period (.) flag character indicates that the selector is a class
selector.
<STYLE TYPE = “TEXT/CSS”>
.QUOTE {COLOR:RED}
</STYLE>
Applying this style to a paragraph:
<P CLASS=”QUOTE”> This is a paragraph </P> 21
22. WHAT IS THE CLASS SELECTOR IN CSS?
January 2012
Example 2: Create a class rule called “veryimportant” that sets the background
color to yellow. Apply this to a H1 heading and two paragraphs. Also show how
a para is rendered if the class is not applied to it.
Prof. Mukesh N. Tekwani
<HTML>
<HEAD>
<STYLE TYPE="TEXT/CSS">
.veryimportant {background-color: yellow;}
</STYLE>
</HEAD>
<BODY>
<H1 CLASS="veryimportant">Example</h1>
<P CLASS="veryimportant">This is the first paragraph.</P>
<P>This is the second paragraph.</P>
<P Class="veryimportant">This is the third paragraph.</P>
</BODY>
22
</HTML>
23. HOW TO SPECIFY TEXT MARGINS N CSS?
January 2012
The MARGIN attribute is used to set the text margin on
all four sides. We can also set the margins on individual
sides with following settings:
Prof. Mukesh N. Tekwani
MARGIN-TOP
MARGIN-BOTTOM
MARGIN-LEFT
MARGIN-RIGHT
Example: Set the margin on all sides to 30 px
<STYLE TYPE = “TEXT/CSS”>
P {margin:30px}
23
</STYLE>
24. HOW TO SPECIFY THE TEXT BORDERS?
January 2012
The BORDER property can be used to set the
border style, color and width.
Prof. Mukesh N. Tekwani
Syntax: {BORDER BORDER-STYLE
BORDER-WIDTH BORDER-COLOR}
Example
<STYLE TYPE = “TEXT/CSS”>
P {BORDER: SOLID 2pt BLUE}
</STYLE>
24
25. CHANGING BACKGROUND COLOR WITH CSS
January 2012
<html>
<head>
<style type="text/css">
Prof. Mukesh N. Tekwani
body
{
background-color:#b0c45e;
}
</style>
</head>
<body>
<h1>My CSS web page!</h1>
<p>Hello world!</p>
</body> 25
</html>
26. SET AN IMAGE AS THE BACKGROUND OF A
PAGE
January 2012
<html>
<head>
Prof. Mukesh N. Tekwani
<style type="text/css">
body {background-image:url('paper.gif');}
</style>
</head>
<body>
<h1>Hello World!</h1>
</body>
</html> 26
27. EXAMPLE
January 2012
Create a style rule as follows: To display the date in a right-
aligned paragraph. To display the main text in a justified
paragraph.
Prof. Mukesh N. Tekwani
<html>
<head>
<style type="text/css">
h1 {text-align:center;}
p.date {text-align:right;}
p.main {text-align:justify;}
</style>
</head> 27
28. EXAMPLE (CONTD)
January 2012
<body>
<h1>CSS text-align Example</h1>
Prof. Mukesh N. Tekwani
<p class="date">Nov 2010</p>
<p class="main">This is the main paragraph in
which text alignment is “justified”</p>
</body>
</html>
28
29. EXAMPLE
January 2012
Create style rules for the four states of a link.
<html>
Prof. Mukesh N. Tekwani
<head>
<style type="text/css">
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 */
</style>
</head>
29
30. EXAMPLE (CONTD)
January 2012
<body>
<p><b><a href="default.asp" target="_blank">
Prof. Mukesh N. Tekwani
This is a link</a></b></p>
</body>
</html>
Note: a:hover MUST come after a:link and a:visited
in the CSS definition in order to be effective.
a:active MUST come after a:hover in the CSS
definition in order to be effective.
30
31. EXAMPLE
January 2012
Create a style rule for H1 element with following
specifications:
Prof. Mukesh N. Tekwani
H1 tag with
Background image: swirlbkg.jpg
Color—green
Letter-spacing-7pt
Text-align- center
Text-decoration-underline
Text-transform--uppercase;
Word-spacing: 2pt
31
32. EXAMPLE(CONTD)
January 2012
H1
{
Prof. Mukesh N. Tekwani
color:green;
letter-spacing:7pt;
text-align: center;
text-decoration:underline;
text-transform:uppercase;
word-spacing: 2pt
}
32
33. EXAMPLE
January 2012
Create a style rule for P tag with following
specifications:
Prof. Mukesh N. Tekwani
Color – magenta
font-family – Algerian
font-size – medium
font-style—italic
font-weight—lighter
33
34. EXAMPLE
January 2012
P
{
Prof. Mukesh N. Tekwani
color: magenta;
font-family:Algerian;
font-size: medium;
font-style:italic;
font-weight:-lighter;
}
34
35. EXAMPLE TO ILLUSTRATE THE VARIOUS
STYLES APPLIED TO LISTS:
January 2012
<html>
<head>
Prof. Mukesh N. Tekwani
<style type="text/css">
ul.a {list-style-type:circle;} /* open circle */
ul.b {list-style-type:square;} /* filled square */
ul.e {list-style-type:disc;} /* filled circle */
ol.c {list-style-type:upper-roman;} /* upper roman I
*/
ol.d {list-style-type:lower-alpha;} /* lower alpha: a */
</style>
</head>
35
36. LISTS
<body>
January 2012
<p>Example of unordered lists:</p>
<ul class="a">
Prof. Mukesh N. Tekwani
<li>Coffee</li>
<li>Tea</li>
<li>Coca Cola</li>
</ul>
<ul class="b">
<li>Coffee</li>
<li>Tea</li>
<li>Coca Cola</li>
36
</ul>
37. LISTS
January 2012
<ul class="e">
<li>Coffee</li>
<li>Tea</li>
Prof. Mukesh N. Tekwani
<li>Coca Cola</li>
</ul>
<p>Example of ordered lists:</p>
<ol class="c">
<li>Coffee</li>
<li>Tea</li>
<li>Coca Cola</li>
</ol>
</body>
</html> 37
38. HANGING INDENT
January 2012
Write a style rule for a <P> element with a 24 pt
hanging indent and a 30 pixel margin on left and right
sides.
Prof. Mukesh N. Tekwani
<STYLE TYPE = "TEXT/CSS">
P
{
text-indent:-24pt;
margin-left:30px;
margin-right:30px
}
38
</STYLE>
39. ALIGNING TEXT WITH CSS
<html>
January 2012
<head>
<style>
h1 {text-align:center;}
Prof. Mukesh N. Tekwani
p.date {text-align:right;}
p.main {text-align:justify;}
</style>
</head>
<body>
<h1>CSS text-align Example</h1>
<p class="date">May, 2009</p>
<p class="main">In my younger and more vulnerable years my father gave me
some advice that I've been turning over in my mind ever since. 'Whenever
you feel like criticizing anyone,' he told me, just remember that all the people
in this world haven't had the advantages that you've had.'</p>
<p><b>Note:</b> Resize the browser window to see how the value "justify" 39
works.</p></body></html>
40. QUESTIONS ?
January 2012
Read.
Practice.
Prof. Mukesh N. Tekwani
Read.
Practice.
:
:
:
40