This document provides an introduction to web technologies presented by Venkat Pinagadi. It outlines the presentation topics which include HTML, CSS, and JavaScript. For each component, it will discuss what it is/isn't, what constructs it comprises, how to use it in web pages, and how it interacts with other components. The document then goes into more detail on specific HTML components such as documents, pages, headings, images, tables, and links. It also covers CSS concepts, rules, and placement as well as how CSS can control page elements.
The document provides an introduction to HTML (Hypertext Markup Language), including what HTML is, common HTML tags like <p>, <h1>-<h6>, <a>, <img>, and <table>, and how to format text. It also discusses adding comments, viewing HTML source, line breaks, horizontal rules, and styles.
The document discusses various techniques designers can use to improve website performance, including optimizing images, using CSS sprites, icon fonts, data URI schemes, and maintaining consistency with styles and rules. It provides examples of how to optimize images, create CSS sprites, use icon fonts, embed images via data URIs, and improve consistency. It also includes links to resources about gzip compression and gradient button styles.
The document provides information on HTML tags and elements for creating web pages. It discusses common tags like <p> for paragraphs, <h1>-<h6> for headings, and <body> for the content container. It also covers basic HTML structure with <html>, <head>, and <body> tags. Attributes are described along with examples for aligning, styling and providing additional information for elements. Different lists like ordered, unordered and definition lists are explained with <ol>, <ul> and <dl> tags.
The document provides an introduction to HTML elements, tags, and attributes. It discusses common HTML elements like paragraphs, headings, and line breaks. It explains how to use opening and closing tags to define elements in an HTML document. Attributes are described which can customize elements, such as align attributes to control text alignment. The document also gives examples of how to code basic HTML elements and attributes.
The document provides an introduction to HTML and CSS. It defines HTML as the structure and CSS as the design of webpages. It then covers HTML syntax and tags, how to connect HTML and CSS using link tags, and paths to images and stylesheets when files are organized in folders. The relationship between HTML, CSS, and the browser is that HTML provides structure, CSS provides design rules, and the browser displays the combined result.
This document discusses images and typography in HTML and CSS. It covers adding images to HTML, image formats like JPG, PNG and GIF, using CSS to add background images, embedding fonts using the @font-face rule, resetting default browser styles, and styling links using pseudo-classes like :link, :visited, :hover and :active.
This document discusses modern CSS architecture patterns. It introduces concepts like OOCSS, SMACSS, and BEM for organizing CSS in a modular, scalable and maintainable way. It provides examples of how to build reusable CSS modules and maintain them through techniques like naming conventions, categorization and decoupling CSS from HTML. The presentation emphasizes goals of building predictable, reusable, maintainable and scalable CSS architecture.
The document provides an overview of HTML and ASP.NET. It defines key terms like HTTP, HTML, and web servers. It then covers basic HTML tags and formatting like headings, paragraphs, lists, and tables. It also discusses linking and embedding images. Finally, it provides a brief introduction to ASP.NET controls and database connectivity.
The document provides an introduction to HTML (Hypertext Markup Language), including what HTML is, common HTML tags like <p>, <h1>-<h6>, <a>, <img>, and <table>, and how to format text. It also discusses adding comments, viewing HTML source, line breaks, horizontal rules, and styles.
The document discusses various techniques designers can use to improve website performance, including optimizing images, using CSS sprites, icon fonts, data URI schemes, and maintaining consistency with styles and rules. It provides examples of how to optimize images, create CSS sprites, use icon fonts, embed images via data URIs, and improve consistency. It also includes links to resources about gzip compression and gradient button styles.
The document provides information on HTML tags and elements for creating web pages. It discusses common tags like <p> for paragraphs, <h1>-<h6> for headings, and <body> for the content container. It also covers basic HTML structure with <html>, <head>, and <body> tags. Attributes are described along with examples for aligning, styling and providing additional information for elements. Different lists like ordered, unordered and definition lists are explained with <ol>, <ul> and <dl> tags.
The document provides an introduction to HTML elements, tags, and attributes. It discusses common HTML elements like paragraphs, headings, and line breaks. It explains how to use opening and closing tags to define elements in an HTML document. Attributes are described which can customize elements, such as align attributes to control text alignment. The document also gives examples of how to code basic HTML elements and attributes.
The document provides an introduction to HTML and CSS. It defines HTML as the structure and CSS as the design of webpages. It then covers HTML syntax and tags, how to connect HTML and CSS using link tags, and paths to images and stylesheets when files are organized in folders. The relationship between HTML, CSS, and the browser is that HTML provides structure, CSS provides design rules, and the browser displays the combined result.
This document discusses images and typography in HTML and CSS. It covers adding images to HTML, image formats like JPG, PNG and GIF, using CSS to add background images, embedding fonts using the @font-face rule, resetting default browser styles, and styling links using pseudo-classes like :link, :visited, :hover and :active.
This document discusses modern CSS architecture patterns. It introduces concepts like OOCSS, SMACSS, and BEM for organizing CSS in a modular, scalable and maintainable way. It provides examples of how to build reusable CSS modules and maintain them through techniques like naming conventions, categorization and decoupling CSS from HTML. The presentation emphasizes goals of building predictable, reusable, maintainable and scalable CSS architecture.
The document provides an overview of HTML and ASP.NET. It defines key terms like HTTP, HTML, and web servers. It then covers basic HTML tags and formatting like headings, paragraphs, lists, and tables. It also discusses linking and embedding images. Finally, it provides a brief introduction to ASP.NET controls and database connectivity.
An Overview on PROV-AQ: Provenance Access and QueryOlaf Hartig
The slides which I used at the Dagstuhl seminar on Principles of Provenance (Feb.2012) for presenting the main contributions and open issues of the PROV-AQ document created by the W3C provenance working group.
The document is an SEO report for the website http://phone-sex-chat.com. It provides an overall SEO score of 89/100 and summaries various on-site SEO factors like meta titles and descriptions, keyword usage, headings, links and redirects. It also checks off-site factors like HTTPS usage, social media integration, page speed, caching and server security settings. The report provides recommendations to fix any issues found.
The document discusses three ways of applying CSS: inline, internal, and external. It provides examples of each method and explains their differences. Inline CSS is written directly in HTML tags, internal CSS is defined within the <style> tag in the <head> section, and external CSS has the styles defined in a separate .css file that is linked via the <link> tag. The document also covers various CSS properties for formatting text like font, color, size, alignment; box model properties like margin, padding, border; and CSS selectors like classes and IDs.
The document introduces CSS and how it works with HTML to separate content from presentation, allowing the styling of web pages through rules that target HTML elements. It explains CSS syntax and various selectors like type, class, ID, and descendant selectors. Examples are provided of how CSS can be used to style properties like color, font, padding, and layout of elements on a page.
This document contains the HTML code for a webpage on the website SlideShare.net that discusses foods that are halal (permitted) and haram (prohibited) according to Islamic law. The HTML includes metadata tags providing information like the title, description, keywords, and thumbnail image for the page. It also includes script tags for including things like ads, analytics tracking, and embedding the presentation content on the page.
This document is a HTML page for a presentation on SlideShare titled "Eclampsia 4 Real". It includes metadata such as the title, description, and author of the presentation. It also contains scripts and code for features like comments, sharing options, and advertisements on the page.
The sender, Yoshea Nyelle Hazzette Dj, emails the Bryce Jordan Center with a proposal to hold a concert featuring different music genres together on one stage in an effort to change the music industry. Several large attachments are included with the proposal but delivery fails due to exceeding file size limits. In a follow up email, the sender resends the proposal to another email address and confirms they have additional files to share regarding the proposal. The general manager of Bryce Jordan Center responds that he will be out of office for three weeks but his associate, Al Karosas, will contact the sender within 48 hours to discuss the proposal further.
This document is the slide presentation titled "Ocular Emergency" by Pisit Preechawat from the Department of Ophthalmology at Ramathibodi Hospital. The presentation describes various ocular emergencies and how to treat them. It contains slides on topics like corneal abrasions, hyphema, acute glaucoma, retinal detachment, and orbital cellulitis. The presentation aims to educate medical professionals on properly diagnosing and managing different eye emergencies.
The document contains code for embedding three online flash games - Fish Tales, Pirates, and Mosca - on a webpage. The code includes HTML tags, CSS styling, and JavaScript for tracking page views with Google Analytics. Parameters are specified for properties like width, height, quality and links provided for the game files hosted on an external site.
The document is a HTML page for a presentation on SlideShare titled "El Tiempo Nos Enseña". It includes metadata such as the title, description, creator, and embedded scripts for ads and analytics. The page also contains headings, navigation menus, and placeholders for advertising slots to be filled.
This document is the HTML code for a webpage containing a presentation on the states of matter. The presentation includes 5 slides and uses Adobe Flash player to display the slides. Key information included in the page are the title of the presentation "Los Estados De La Materia", the author "apelaez9009", and advertising scripts from Google AdSense.
The document provides an introduction to HTML and covers several essential HTML elements. It begins with a table of contents and overview of HTML. It then discusses common block elements like headings, paragraphs, and divs. It also covers inline text elements for formatting like bold, italics, and emphasis. The document concludes with examples of lists, links, and images to demonstrate basic HTML tags.
HTTP Strict Transport Security (HSTS), English versionMichal Špaček
HTTP Strict Transport Security (HSTS) provides secure transport of data, by removing the possibility of HTTPS stripping. HSTS is an HTTP header issued by the server. After receiving such header, the browser will perform internal redirects from http:// to https:// for given amount of seconds.
.htaccess for SEOs - A presentation by Roxana StinguRoxana Stingu
The .htaccess file is famous for helping us set redirects but it can also help improve our website’s loading times as well as help with some crawling and indexing issues that I will cover in a bit. Learn where the file can be found, how it compares to https.conf, how it can be used for redirects, deal with duplicate content, what performance issues it can encounter, how it can help you create custom 404 pages, how it helps you leverage browser caching, gzip, disable image hotlinking, add canonical tags and robots directives in the HTTP headers and what tools and resources can help you learn even more.
A talk about TCP, UDP, IP, DNS, ISP, GET, URI, URN, URL, SSL, TLS, TTFB, HTTP/2, HTML and DOM, or, in translation, a talk about the internet, how requests travel through the network and how browsers handle the response.
This has been originally presented during BrightonSEO - Summer 2021.
The document discusses an introduction to HTML and web technologies. It covers topics like the basic structure of HTML, common tags used to format text, add images and links, and group content using headings and paragraphs. Examples are provided to demonstrate how to create a simple HTML page using tags for headings, paragraphs, links and images. The last part discusses attributes that can be added to tags to specify properties.
The document provides an overview of key on-page SEO elements and best practices, including important HTML tags like <title> and <meta> tags, HTTP status codes, XML sitemaps, and targeting multiple languages. It covers topics like responsive design, canonicalization, and using metadata like Open Graph, Twitter Cards and Schema.org.
To set environment variables for Java development, right click on "My Computer" and select properties, then advanced system settings, environment variables. Under user variables, set the PATH variable to include the Java bin directory. Under system variables, set the JAVA_HOME variable to the Java install location and CLASSPATH to include the servlet API jar file in the Tomcat lib directory.
This document provides an introduction to AJAX (Asynchronous JavaScript and XML). It discusses what AJAX is, why it was developed, how it works using the XMLHttpRequest object, security considerations, and alternatives like Flash. It also demonstrates how to encapsulate AJAX logic in JavaScript and how frameworks like JSF can be used to implement AJAX without writing JavaScript directly.
This document describes a three-tier architecture for a user registration and login system using Java servlets. It includes code for servlets to insert and retrieve user data from a MySQL database, as well as HTML pages for the user interface. The servlets handle communication between the database and user interface tiers. The document provides instructions for setting up the database connection, compiling the Java code, configuring the web application deployment descriptor, and testing the application.
Neighborhood Watch mobile app (usability testing documentation)JosephHowerton
The document summarizes a usability test conducted on a Neighborhood Watch mobile application prototype. The application allows users to check-in at locations in their neighborhood, add new locations, and edit their profile. Test participants completed tasks for each use case and provided feedback. Key findings included needing clearer explanations of checking-in and adding locations, ability to sort locations and activities, and displaying user contributions in an activity feed. Recommendations were made to address issues and improve the prototype for further testing.
An Overview on PROV-AQ: Provenance Access and QueryOlaf Hartig
The slides which I used at the Dagstuhl seminar on Principles of Provenance (Feb.2012) for presenting the main contributions and open issues of the PROV-AQ document created by the W3C provenance working group.
The document is an SEO report for the website http://phone-sex-chat.com. It provides an overall SEO score of 89/100 and summaries various on-site SEO factors like meta titles and descriptions, keyword usage, headings, links and redirects. It also checks off-site factors like HTTPS usage, social media integration, page speed, caching and server security settings. The report provides recommendations to fix any issues found.
The document discusses three ways of applying CSS: inline, internal, and external. It provides examples of each method and explains their differences. Inline CSS is written directly in HTML tags, internal CSS is defined within the <style> tag in the <head> section, and external CSS has the styles defined in a separate .css file that is linked via the <link> tag. The document also covers various CSS properties for formatting text like font, color, size, alignment; box model properties like margin, padding, border; and CSS selectors like classes and IDs.
The document introduces CSS and how it works with HTML to separate content from presentation, allowing the styling of web pages through rules that target HTML elements. It explains CSS syntax and various selectors like type, class, ID, and descendant selectors. Examples are provided of how CSS can be used to style properties like color, font, padding, and layout of elements on a page.
This document contains the HTML code for a webpage on the website SlideShare.net that discusses foods that are halal (permitted) and haram (prohibited) according to Islamic law. The HTML includes metadata tags providing information like the title, description, keywords, and thumbnail image for the page. It also includes script tags for including things like ads, analytics tracking, and embedding the presentation content on the page.
This document is a HTML page for a presentation on SlideShare titled "Eclampsia 4 Real". It includes metadata such as the title, description, and author of the presentation. It also contains scripts and code for features like comments, sharing options, and advertisements on the page.
The sender, Yoshea Nyelle Hazzette Dj, emails the Bryce Jordan Center with a proposal to hold a concert featuring different music genres together on one stage in an effort to change the music industry. Several large attachments are included with the proposal but delivery fails due to exceeding file size limits. In a follow up email, the sender resends the proposal to another email address and confirms they have additional files to share regarding the proposal. The general manager of Bryce Jordan Center responds that he will be out of office for three weeks but his associate, Al Karosas, will contact the sender within 48 hours to discuss the proposal further.
This document is the slide presentation titled "Ocular Emergency" by Pisit Preechawat from the Department of Ophthalmology at Ramathibodi Hospital. The presentation describes various ocular emergencies and how to treat them. It contains slides on topics like corneal abrasions, hyphema, acute glaucoma, retinal detachment, and orbital cellulitis. The presentation aims to educate medical professionals on properly diagnosing and managing different eye emergencies.
The document contains code for embedding three online flash games - Fish Tales, Pirates, and Mosca - on a webpage. The code includes HTML tags, CSS styling, and JavaScript for tracking page views with Google Analytics. Parameters are specified for properties like width, height, quality and links provided for the game files hosted on an external site.
The document is a HTML page for a presentation on SlideShare titled "El Tiempo Nos Enseña". It includes metadata such as the title, description, creator, and embedded scripts for ads and analytics. The page also contains headings, navigation menus, and placeholders for advertising slots to be filled.
This document is the HTML code for a webpage containing a presentation on the states of matter. The presentation includes 5 slides and uses Adobe Flash player to display the slides. Key information included in the page are the title of the presentation "Los Estados De La Materia", the author "apelaez9009", and advertising scripts from Google AdSense.
The document provides an introduction to HTML and covers several essential HTML elements. It begins with a table of contents and overview of HTML. It then discusses common block elements like headings, paragraphs, and divs. It also covers inline text elements for formatting like bold, italics, and emphasis. The document concludes with examples of lists, links, and images to demonstrate basic HTML tags.
HTTP Strict Transport Security (HSTS), English versionMichal Špaček
HTTP Strict Transport Security (HSTS) provides secure transport of data, by removing the possibility of HTTPS stripping. HSTS is an HTTP header issued by the server. After receiving such header, the browser will perform internal redirects from http:// to https:// for given amount of seconds.
.htaccess for SEOs - A presentation by Roxana StinguRoxana Stingu
The .htaccess file is famous for helping us set redirects but it can also help improve our website’s loading times as well as help with some crawling and indexing issues that I will cover in a bit. Learn where the file can be found, how it compares to https.conf, how it can be used for redirects, deal with duplicate content, what performance issues it can encounter, how it can help you create custom 404 pages, how it helps you leverage browser caching, gzip, disable image hotlinking, add canonical tags and robots directives in the HTTP headers and what tools and resources can help you learn even more.
A talk about TCP, UDP, IP, DNS, ISP, GET, URI, URN, URL, SSL, TLS, TTFB, HTTP/2, HTML and DOM, or, in translation, a talk about the internet, how requests travel through the network and how browsers handle the response.
This has been originally presented during BrightonSEO - Summer 2021.
The document discusses an introduction to HTML and web technologies. It covers topics like the basic structure of HTML, common tags used to format text, add images and links, and group content using headings and paragraphs. Examples are provided to demonstrate how to create a simple HTML page using tags for headings, paragraphs, links and images. The last part discusses attributes that can be added to tags to specify properties.
The document provides an overview of key on-page SEO elements and best practices, including important HTML tags like <title> and <meta> tags, HTTP status codes, XML sitemaps, and targeting multiple languages. It covers topics like responsive design, canonicalization, and using metadata like Open Graph, Twitter Cards and Schema.org.
To set environment variables for Java development, right click on "My Computer" and select properties, then advanced system settings, environment variables. Under user variables, set the PATH variable to include the Java bin directory. Under system variables, set the JAVA_HOME variable to the Java install location and CLASSPATH to include the servlet API jar file in the Tomcat lib directory.
This document provides an introduction to AJAX (Asynchronous JavaScript and XML). It discusses what AJAX is, why it was developed, how it works using the XMLHttpRequest object, security considerations, and alternatives like Flash. It also demonstrates how to encapsulate AJAX logic in JavaScript and how frameworks like JSF can be used to implement AJAX without writing JavaScript directly.
This document describes a three-tier architecture for a user registration and login system using Java servlets. It includes code for servlets to insert and retrieve user data from a MySQL database, as well as HTML pages for the user interface. The servlets handle communication between the database and user interface tiers. The document provides instructions for setting up the database connection, compiling the Java code, configuring the web application deployment descriptor, and testing the application.
Neighborhood Watch mobile app (usability testing documentation)JosephHowerton
The document summarizes a usability test conducted on a Neighborhood Watch mobile application prototype. The application allows users to check-in at locations in their neighborhood, add new locations, and edit their profile. Test participants completed tasks for each use case and provided feedback. Key findings included needing clearer explanations of checking-in and adding locations, ability to sort locations and activities, and displaying user contributions in an activity feed. Recommendations were made to address issues and improve the prototype for further testing.
Este documento lista numerosos lugares, edificios, monumentos y tradiciones que forman parte del patrimonio cultural uruguayo, incluyendo sitios históricos como la ciudad de Colonia del Sacramento, el Hospital Italiano y la Iglesia San Francisco de Asís en Montevideo, así como lugares naturales como la Meseta de Artigas, el Cerro del Indio y la Cueva del Oso en Tacuarembó. También menciona tradiciones como el tango, el carnaval y el mate como parte integral de la cultura uruguaya.
The Philippines was originally called "Filipinas" by the Spanish colonizers in honor of King Philip II of Spain. When the Americans took control of the Philippines after the Spanish-American War, they decided to shorten the name to "Philippines" to make it easier to pronounce in English. The name "Philippines" was adopted in the 1935 constitution as the official name of the country.
This document summarizes a multi-level marketing opportunity being offered by Global Domains International (GDI) to sell .ws domain names and web hosting packages. Key points:
- GDI owns the .ws top-level domain and offers a $10/month package including a domain name, hosting, email, and website builder.
- Affiliates can earn commissions of $1 per month for each package sold to people in their referral network of up to 5 levels deep. With enough referrals, monthly commissions could reach thousands of dollars.
- GDI also offers bonuses of $100 for every 5 new paid affiliates referred in a week, with no limit on how many bonuses can be earned.
We now acknowledge that complete upfront requirements is an impossible mission. Agile approaches have emerged as a way to manage the creation of systems that can never be completely defined and are certain to change.
But what about architecture and design for these systems? How much is the right amount? How do you plan for emergent design? What is the architect's role on an agile project?
Topics include:
- Role of the agile architect
- Agile design
- Keeping change easy
- Reducing technical risks
- Capturing non-functional and technical requirements and constraints
- Dealing with technical debt
- Addressing architectural concerns within the Scrum framework
- Tests – They're not just for finding bugs
- Architecture anti-patterns
Park and Seek Mobile app (usability testing documentation)JosephHowerton
The document provides a usability test plan for testing the ParkNSeek mobile application. It includes an executive summary, methodology, test script, post-task questions, post-test questions, and contributions. The plan outlines conducting informal usability tests with 12 participants using think-aloud protocols and heuristic evaluations. The goals are to evaluate efficiency, learnability, and user expectations. Tests will be conducted individually by team members and involve 3 tasks - finding parking, saving a location, and finding a car. Data on task completion, errors, and participant feedback will be collected.
This document provides an overview of Apache Tomcat, a free and open-source web server and servlet container developed by the Apache Software Foundation (ASF) that implements the Java Servlet and JavaServer Pages (JSP) technologies. It discusses what Tomcat is, its role as a web application container, how to install and configure it, enable features like CGI and SSI, and addresses some common issues. The advantages of using Tomcat include that it is open source, lightweight, easily configured, stable, well documented, and free.
This document provides tips for using CSS and HTML coding more efficiently. It recommends using semantic HTML tags and external CSS style sheets to reduce file size and maintenance. Common elements should have default styles defined in CSS rather than inline styles. Classes can be combined to reduce the need for new classes. Line height and hidden anchors are also addressed for readability and usability. Semantic HTML tags like H1 should not be used solely for presentation.
The document provides an overview of HTML (Hypertext Markup Language) including:
1) HTML is a markup language used to describe web pages using tags to structure content like headings, paragraphs, lists, links, images and tables.
2) Various HTML tags are described like <h1>-<h6> for headings, <p> for paragraphs, <b> for bold, <i> for italic, and <a> for links.
3) Additional HTML concepts covered include internal and external CSS, meta tags, images, tables, frames, iframes and cascading style sheets (CSS) for styling content.
The document provides an overview of HTML 5 including:
- HTML stands for Hypertext Markup Language and is the core markup language used to structure web pages.
- Common IDEs and browsers for developing HTML include Notepad, Visual Studio Code, Chrome, and Firefox.
- Key HTML elements include <html>, <head>, <body>, <div>, <p>, <img>, <a>, <ul>, <ol>, <table>, and <form>.
- Attributes like class, id, and src are used to provide additional information and functionality.
- HTML allows adding headings, text formatting, comments, links, images, videos, and tables to structure and design web pages.
Web design involves creating websites and encompasses webpage layout, content production, and graphic design. It uses client-side technologies like HTML, CSS, and JavaScript that only require a text editor and browser, as well as server-side languages like PHP, Java, and Python that require additional server programs. HTML is the core markup language that defines the structure and layout of a web page using elements like headings, paragraphs, lists, links, images, and tables. Frames allow dividing the browser window into independent sections to organize content. Forms are used to collect user input through elements such as text fields, textareas, radio buttons, and submit buttons.
This document provides an introduction to key web technologies including HTML, CSS, and JavaScript. It discusses HTML components like documents, tags, and pages which are made up of plain text files with tags to indicate how content should be displayed. It also covers CSS concepts like stylesheets that separate formatting from content. JavaScript is introduced as a scripting language that allows for user interactivity on webpages through components like objects, attributes, methods, and statements.
The document provides an overview of basic HTML elements and concepts. It defines HTML as using markup tags to structure web pages. It explains the basic format of an HTML document with <head> and <body> sections, and introduces common tags like <p> for paragraphs, <a> for links, <h1> for headings, and <img> for images. It also defines key concepts like URLs, HTTP, and FTP for transferring files to web servers to host HTML pages online.
HTML Web Devlopment presentation css.pptraghavanp4
CSS is a style sheet language used to determine the formatting of HTML documents. It separates the presentation of HTML elements from the document's structure and semantics. The key benefits of CSS include separation of concerns, cascade of rules, specificity of selector types, and the ability to control layout, colors, fonts and other stylistic aspects of HTML documents. The document provides an overview of CSS fundamentals including the anatomy of style sheets, applying styles via selectors, shorthand properties, and specificity which determines which styles get applied based on an element's selector types and order of rules.
CSS is a style sheet language used to determine the formatting of HTML documents. It separates the presentation of HTML elements from the document's structure and semantics. The key benefits of CSS include separation of concerns, cascade of rules, specificity of selector types, and the ability to control layout, colors, fonts and other stylistic aspects of HTML documents. The document provides an overview of CSS fundamentals including the anatomy of style sheets, how rules are applied based on selector types and specificity, and formatting techniques.
CSS is a style sheet language used to determine the formatting of HTML documents. It separates the presentation of HTML elements from the document's structure and semantics. The key benefits of CSS include separation of concerns, cascading style sheets, and selector-based rules. CSS fundamentals include the anatomy of style sheets with selectors, declarations, and properties. Specificity rules determine which styles take precedence when multiple selectors apply to an element.
As CSS3 adds support for rich styling in standards-based web applications, style sheet markup can quickly get out of control! Many CSS effects today require repetitive rules to cover the proprietary browser CSS prefixes. LESS for CSS is an open source framework that makes modern CSS more manageable. With support for variables, mix-ins, nested CSS rules, and operations, LESS finally makes complex CSS easy to maintain. In this session, you will discover how LESS can be easily adopted in any ASP.NET project and learn about tools that make it easy to work with LESS in Visual Studio 2010.
Web Design for Literary Theorists II: Overview of CSS (v 1.0)Patrick Mooney
Second in a series of workshops for graduate students in the Department of English at UC Santa Barbara.
More information: http://patrickbrianmooney.nfshost.com/~patrick/ta/lead-ta/web-design/2013-2014/
YouTube screencast with audio: http://youtu.be/5Ds9oKV20H0
The document provides an overview of basic HTML elements and tags for creating web pages, including:
<1> The <html>, <head>, and <body> tags which form the essential structure of an HTML document.
<2> Common text formatting tags like <p>, <h1>-<h6>, and <br> for paragraphs, headings, and line breaks.
<3> Other common elements like <a> for links, <img> for images, <ol> and <li> for ordered lists, and <table>.
<3> It also demonstrates how to add character entities, embed a Google Form, and other basic HTML features.
An Seo’s Intro to Web Dev, HTML, CSS and JavaScriptTroyfawkes
This document provides an introduction to web development technologies for SEOs, covering HTML, CSS, JavaScript, and how they relate to each other and web architecture. It begins with an overview of the main components of a website, including the CMS, front-end code, back-end code, database, web server, domain name, DNS, and physical server. It then covers HTML basics like tags and document structure. It discusses CSS and how it is used to style pages. Finally, it provides a brief introduction to JavaScript and how it adds dynamic functionality to websites. The document is intended to give SEOs a basic technical understanding of web development.
This document provides an introduction to various web technologies including HTML, CSS, JavaScript, and PHP. It discusses the basic structures and components of HTML documents, how CSS can be used to style HTML content, and how JavaScript and PHP can add interactivity and run server-side code. The document also gives examples of common tags and syntax used in these languages. It concludes by noting that most web pages combine these core technologies and that learning them now provides a foundation for newer technologies.
This document provides an introduction to HTML and covers several key topics:
1. It explains what HTML is and that it is the skeleton or structure of web pages, describing elements with markup tags.
2. It reviews important HTML tags like headings, paragraphs, links, images, and lists and how they are used to provide structure and semantics to text.
3. It also discusses other useful tags like comments and provides additional resources for further learning HTML.
HTML is a markup language used to define the structure and layout of web pages. HTML uses tags to mark elements like headings, paragraphs, links, images, and tables. Some key tags include:
<h1> for main headings, <p> for paragraphs, <a> for links, <img> for images, and <table> for tables. Elements are everything between a starting and ending tag. HTML documents contain tags and plain text and are displayed in web browsers.
Lecture 2 HTML part 1.pptxLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvZahouAmel1
Lecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 10 CSS part 2.pptxvvvvvvvvvvvvvv
The document provides information about HTML tags and web design terms. It includes definitions of hypertext, HTML, GIF, JPEG, and CGI. It also discusses using HTML tags like <font>, <a href>, <table>, <tr>, <td> to format text, add links, and create tables on webpages. The document gives examples of HTML code and instructions for students to create their own basic website using tags.
The document discusses Amanda Aitken's presentation on learning HTML and CSS. Some key points:
- Amanda believes it's important for women to learn to code so they can build their dreams online, save time and money, and feel empowered.
- Many people fear coding because it seems complex, but Amanda provides strategies to overcome this like learning in a supportive format and knowing that mistakes are okay.
- HTML inserts elements onto webpages and CSS controls their appearance. HTML tags define elements and CSS style rules format them.
- Amanda will teach the basics of HTML and CSS in her presentation so attendees can make their blogs or sites match their visions.
- HTML provides structure and CSS controls
AI 101: An Introduction to the Basics and Impact of Artificial IntelligenceIndexBug
Imagine a world where machines not only perform tasks but also learn, adapt, and make decisions. This is the promise of Artificial Intelligence (AI), a technology that's not just enhancing our lives but revolutionizing entire industries.
“An Outlook of the Ongoing and Future Relationship between Blockchain Technologies and Process-aware Information Systems.” Invited talk at the joint workshop on Blockchain for Information Systems (BC4IS) and Blockchain for Trusted Data Sharing (B4TDS), co-located with with the 36th International Conference on Advanced Information Systems Engineering (CAiSE), 3 June 2024, Limassol, Cyprus.
Removing Uninteresting Bytes in Software FuzzingAftab Hussain
Imagine a world where software fuzzing, the process of mutating bytes in test seeds to uncover hidden and erroneous program behaviors, becomes faster and more effective. A lot depends on the initial seeds, which can significantly dictate the trajectory of a fuzzing campaign, particularly in terms of how long it takes to uncover interesting behaviour in your code. We introduce DIAR, a technique designed to speedup fuzzing campaigns by pinpointing and eliminating those uninteresting bytes in the seeds. Picture this: instead of wasting valuable resources on meaningless mutations in large, bloated seeds, DIAR removes the unnecessary bytes, streamlining the entire process.
In this work, we equipped AFL, a popular fuzzer, with DIAR and examined two critical Linux libraries -- Libxml's xmllint, a tool for parsing xml documents, and Binutil's readelf, an essential debugging and security analysis command-line tool used to display detailed information about ELF (Executable and Linkable Format). Our preliminary results show that AFL+DIAR does not only discover new paths more quickly but also achieves higher coverage overall. This work thus showcases how starting with lean and optimized seeds can lead to faster, more comprehensive fuzzing campaigns -- and DIAR helps you find such seeds.
- These are slides of the talk given at IEEE International Conference on Software Testing Verification and Validation Workshop, ICSTW 2022.
Programming Foundation Models with DSPy - Meetup SlidesZilliz
Prompting language models is hard, while programming language models is easy. In this talk, I will discuss the state-of-the-art framework DSPy for programming foundation models with its powerful optimizers and runtime constraint system.
Best 20 SEO Techniques To Improve Website Visibility In SERPPixlogix Infotech
Boost your website's visibility with proven SEO techniques! Our latest blog dives into essential strategies to enhance your online presence, increase traffic, and rank higher on search engines. From keyword optimization to quality content creation, learn how to make your site stand out in the crowded digital landscape. Discover actionable tips and expert insights to elevate your SEO game.
In the rapidly evolving landscape of technologies, XML continues to play a vital role in structuring, storing, and transporting data across diverse systems. The recent advancements in artificial intelligence (AI) present new methodologies for enhancing XML development workflows, introducing efficiency, automation, and intelligent capabilities. This presentation will outline the scope and perspective of utilizing AI in XML development. The potential benefits and the possible pitfalls will be highlighted, providing a balanced view of the subject.
We will explore the capabilities of AI in understanding XML markup languages and autonomously creating structured XML content. Additionally, we will examine the capacity of AI to enrich plain text with appropriate XML markup. Practical examples and methodological guidelines will be provided to elucidate how AI can be effectively prompted to interpret and generate accurate XML markup.
Further emphasis will be placed on the role of AI in developing XSLT, or schemas such as XSD and Schematron. We will address the techniques and strategies adopted to create prompts for generating code, explaining code, or refactoring the code, and the results achieved.
The discussion will extend to how AI can be used to transform XML content. In particular, the focus will be on the use of AI XPath extension functions in XSLT, Schematron, Schematron Quick Fixes, or for XML content refactoring.
The presentation aims to deliver a comprehensive overview of AI usage in XML development, providing attendees with the necessary knowledge to make informed decisions. Whether you’re at the early stages of adopting AI or considering integrating it in advanced XML development, this presentation will cover all levels of expertise.
By highlighting the potential advantages and challenges of integrating AI with XML development tools and languages, the presentation seeks to inspire thoughtful conversation around the future of XML development. We’ll not only delve into the technical aspects of AI-powered XML development but also discuss practical implications and possible future directions.
Threats to mobile devices are more prevalent and increasing in scope and complexity. Users of mobile devices desire to take full advantage of the features
available on those devices, but many of the features provide convenience and capability but sacrifice security. This best practices guide outlines steps the users can take to better protect personal devices and information.
UiPath Test Automation using UiPath Test Suite series, part 5DianaGray10
Welcome to UiPath Test Automation using UiPath Test Suite series part 5. In this session, we will cover CI/CD with devops.
Topics covered:
CI/CD with in UiPath
End-to-end overview of CI/CD pipeline with Azure devops
Speaker:
Lyndsey Byblow, Test Suite Sales Engineer @ UiPath, Inc.
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...SOFTTECHHUB
The choice of an operating system plays a pivotal role in shaping our computing experience. For decades, Microsoft's Windows has dominated the market, offering a familiar and widely adopted platform for personal and professional use. However, as technological advancements continue to push the boundaries of innovation, alternative operating systems have emerged, challenging the status quo and offering users a fresh perspective on computing.
One such alternative that has garnered significant attention and acclaim is Nitrux Linux 3.5.0, a sleek, powerful, and user-friendly Linux distribution that promises to redefine the way we interact with our devices. With its focus on performance, security, and customization, Nitrux Linux presents a compelling case for those seeking to break free from the constraints of proprietary software and embrace the freedom and flexibility of open-source computing.
For the full video of this presentation, please visit: https://www.edge-ai-vision.com/2024/06/building-and-scaling-ai-applications-with-the-nx-ai-manager-a-presentation-from-network-optix/
Robin van Emden, Senior Director of Data Science at Network Optix, presents the “Building and Scaling AI Applications with the Nx AI Manager,” tutorial at the May 2024 Embedded Vision Summit.
In this presentation, van Emden covers the basics of scaling edge AI solutions using the Nx tool kit. He emphasizes the process of developing AI models and deploying them globally. He also showcases the conversion of AI models and the creation of effective edge AI pipelines, with a focus on pre-processing, model conversion, selecting the appropriate inference engine for the target hardware and post-processing.
van Emden shows how Nx can simplify the developer’s life and facilitate a rapid transition from concept to production-ready applications.He provides valuable insights into developing scalable and efficient edge AI solutions, with a strong focus on practical implementation.
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...Neo4j
Leonard Jayamohan, Partner & Generative AI Lead, Deloitte
This keynote will reveal how Deloitte leverages Neo4j’s graph power for groundbreaking digital twin solutions, achieving a staggering 100x performance boost. Discover the essential role knowledge graphs play in successful generative AI implementations. Plus, get an exclusive look at an innovative Neo4j + Generative AI solution Deloitte is developing in-house.
Communications Mining Series - Zero to Hero - Session 1DianaGray10
This session provides introduction to UiPath Communication Mining, importance and platform overview. You will acquire a good understand of the phases in Communication Mining as we go over the platform with you. Topics covered:
• Communication Mining Overview
• Why is it important?
• How can it help today’s business and the benefits
• Phases in Communication Mining
• Demo on Platform overview
• Q/A
Full-RAG: A modern architecture for hyper-personalizationZilliz
Mike Del Balso, CEO & Co-Founder at Tecton, presents "Full RAG," a novel approach to AI recommendation systems, aiming to push beyond the limitations of traditional models through a deep integration of contextual insights and real-time data, leveraging the Retrieval-Augmented Generation architecture. This talk will outline Full RAG's potential to significantly enhance personalization, address engineering challenges such as data management and model training, and introduce data enrichment with reranking as a key solution. Attendees will gain crucial insights into the importance of hyperpersonalization in AI, the capabilities of Full RAG for advanced personalization, and strategies for managing complex data integrations for deploying cutting-edge AI solutions.
Sudheer Mechineni, Head of Application Frameworks, Standard Chartered Bank
Discover how Standard Chartered Bank harnessed the power of Neo4j to transform complex data access challenges into a dynamic, scalable graph database solution. This keynote will cover their journey from initial adoption to deploying a fully automated, enterprise-grade causal cluster, highlighting key strategies for modelling organisational changes and ensuring robust disaster recovery. Learn how these innovations have not only enhanced Standard Chartered Bank’s data infrastructure but also positioned them as pioneers in the banking sector’s adoption of graph technology.
Essentials of Automations: The Art of Triggers and Actions in FMESafe Software
In this second installment of our Essentials of Automations webinar series, we’ll explore the landscape of triggers and actions, guiding you through the nuances of authoring and adapting workspaces for seamless automations. Gain an understanding of the full spectrum of triggers and actions available in FME, empowering you to enhance your workspaces for efficient automation.
We’ll kick things off by showcasing the most commonly used event-based triggers, introducing you to various automation workflows like manual triggers, schedules, directory watchers, and more. Plus, see how these elements play out in real scenarios.
Whether you’re tweaking your current setup or building from the ground up, this session will arm you with the tools and insights needed to transform your FME usage into a powerhouse of productivity. Join us to discover effective strategies that simplify complex processes, enhancing your productivity and transforming your data management practices with FME. Let’s turn complexity into clarity and make your workspaces work wonders!
2. S ha me le s s P lug
Owne r, Hype rTra in dot Com
S a n Die go ba s e d, but do mos tly ons ite
work plus confe re nce s
Tra in & cons ult on He lp Authoring
Tools a nd re la te d te chnologie s :
J a va S cript, HTML, CS S , DHTML,
Inte ra ctivity, We b-ba s e d He lp, e tc.
Uncle Da ve 's motto: "Ca ll me
a nytime ."
888-722-0700, dga s h@hype rtra in.com
3. P re s e nta tion Ove rvie w
Look a t ma in te chnologica l
compone nts tha t ma ke up mode rn
We b pa ge s
HTML – Hype rTe xt Ma rkup La ngua ge
CS S – Ca s ca ding S tyle S he e ts
J a va S cript – um, J a va S cript
For e a ch compone nt
Wha t it is /is n't, ca n/ca n't do
Wha t kinds of cons tructs it compris e s
How to us e it in We b pa ge s
How it inte ra cts with othe r compone nts
4. HTML Compone nts
Docume nts
Docume nt = pa ge = HTM file = topic
Conte nt (te xt, ima ge s )
Ta gs (dis pla y comma nds )
Othe r te rms
Window: brows e r dis pla y window
URL: Uniform Re s ource Loca tor
Hype rlink: hype rte xt jump to a re s ource
Re s ource : URL, ima ge , ma ilto, e xte rna l
file
5. HTML P a ge s
HTML pa ge s a re ta g-ba s e d
docume nts
Re a lly pla in AS CII te xt file s
Don't look like docume nts the y re pre s e nt
Ta gs indica te how proce s s ing progra m
s hould dis pla y te xt a nd gra phics
De s igne d to de s cribe hype rte xt, not pa pe r
P roce s s e d by brows e rs "on the fly"
Ta gs us ua lly a ppe a r in pa irs
Mos t ha ve re a s ona ble na me s or
mne monics
6. Tha t's How This ...
<HTML>
<HEAD>
<BODY background="slate.gif">
<H1>Welcome</H1>
<IMG SRC="DOUGLAS.GIF" WIDTH="80" HEIGHT="107"
ALT="Our Founder" BORDER="0">
<H2>A Message from the President </H2>
<P><font color=red>Good evening! Thank you for
working late!</font></P>
<P>Hello and welcome to DougCo, Incorporated! I'm
<b>Douglas S. Michaels,</b> President and Founder,
<a href="acronyms.htm">COB, CEO, COO, and
BBBWAIC</a>. Let me take this opportunity to
congratulate you on obtaining employment here at
DougCo; I want you to know that you've chosen to
spend your career in one of the most worthwhile and
rewarding endeavors possible --making me richer!</P>
. . .
8. S ome HTML Ta g Exa mple s
S
TAR TAG
T
<HTML>
<HEAD>
<TITLE>
<BODY>
<H1>, <H2>, ...
<IMG ...>
<A ...>
<P>
<BR>
<OL>
<UL>
<LI>
E TAG
ND
</HTML>
</HEAD>
</TITLE>
</BODY>
</H1>, </H2>, ...
</IMG> (optional)
</A>
</P>
(optional)
(none; "empty" tag)
</OL>
</UL>
</LI> (optional)
9. HTML Docume nt La yout
Exa mple of ba s ic ta g pos itioning
<html>
<head>
<title>Title bar text</title>
</head>
<body>
<p>Look, I'm a paragraph!</p>
</body>
</html>
Alwa ys think c o nta ine rs !
Ta g pa irs tha t e nclos e conte nt
10. S ome Common Te xt Ta gs
He a ding le ve ls
h1 – h6, numbe rs inve rs e to te xt s ize
<h1>Heading One</h1>
<h2>Heading One</h2>
P a ra gra ph
P roba bly the mos t common ta g
<p>Yada yada yada...</p>
Line bre a k (a n e mpty ta g)
Us e d whe n <p>'s white s pa ce not wa nte d
This line will break<br>right there
Note white s pa ce or la ck the re of in
HTML s ource does not m
atter!
11. Orde re d & Unorde re d Lis ts
Orde re d (numbe re d)
Us e <ol>...</ol> ta gs
Unorde re d (bulle te d)
Us e <ul>...</ul> ta gs
Lis t Ite ms ma ke up both lis ts
Us e s a me <li>...</li> ta gs
Lis ts ca n conta in a lmos t a nything
Te xt, ima ge s , pa ra gra phs , links
Eve n othe r (ne s te d) lis ts , s a me type or
not
12. Attribute s a nd Va lue s
P rope rtie s , tra its , or cha ra cte ris tics tha t
modify the wa y a ta g looks or a cts
Us ua lly in pa irs : <body bgcolor="teal">
S ome time s not: <dl compact>
Mos t HTML ta gs ca n ta ke a ttribute s
Forma t of va lue de pe nds on a ttribute
width="150" ... href="page3.htm" no t
width="page3.htm" ... href="150"
13. The Anchor Ta g
(1)
The ta g tha t puts the HT in HTML
<a > ... </a > (us e le s s by its e lf)
Mus t ha ve a ttribute s to be us e ful
HREF (Hype rte xt REFe re nce ) a ttribute
Ma ke s a jump to s ome pla ce (URL)
<a href="mypage.htm">My Page</a>
<a href="www.google.com">Google</a>
Link te xt is unde rs core d by de fa ult
W
hatever is be twe e n <a > a nd </a >
is hot (clicka ble )
Clicking ma ke s the link go s ome whe re
or do s ome thing
14. The Anchor Ta g
(2)
S ome link e xa mple s
te xt only
ima ge only
both
15. Ima ge s
(1)
Us e d in pa ge s for va rious re a s ons
Cla rifica tion, na viga tion, pe riphe ra l
tra ining
Ima ge s not in pa ge ; re fe re nc e d by
pa ge
Gra phics a re s e pa ra te , re quire d file s
Us ua lly GIFs or J P Gs , s ome time s othe rs
Ca n be a nywhe re in docume nt body: in
pa ra gra phs , he a dings , lis ts , a nchors , e tc.
P la ce ima ge with <img> ta g
Like <a >, <img> is us e le s s by its e lf
16. Ima ge s
(2)
Ma in a ttribute : S RC
Te lls pa ge whe re to find the ima ge
File na me ca n be loca l, re la tive , or full
Ca s e s e ns itivity de pe nds on s e rve r
Anima te d GIFs a dde d s a me a s s ta tic
<img src="smiley.gif">
<img src="./pix/mypic.jpg">
<img src="http://www.myweb.com/mail.gif">
17. Ta ble s
(1)
P owe rful, fle xible informa tion de live ry
Us e d to re fle ct or impa rt s tructure
A ta ble is a conta ine r
<table> ... </table>
Tha t conta ins othe r conta ine rs (rows )
<tr> ... </tr>
Tha t conta in othe r conta ine rs (ce lls )
<td> ... </td> (data cells)
<th> ... </th> (heading cells)
Tha t conta in da ta – or othe r conta ine rs
Te xt, gra phics , lis ts , e ve n othe r ta ble s !
18. Ta ble s
(2)
Ba s ic ta ble ma rkup
<table border="1">
<tr>
<td>Row 1, Cell 1</td>
<td>Row 1, Cell 2</td>
</tr>
<tr>
<td>Row 2, Cell 1</td>
<td>Row 2, Cell 2</td>
</tr>
Row 1, Cell 1 Row 1, Cell 2
</table>
Row 2, Cell 1 Row 2, Cell 2
19. CS S Conce pts
S tyle s a re na me d s e ts of forma tting
comma nds
[18pt, Aria l, le ft a ligne d] "S e ction he a d"
[Bold, ita lic, blue ] "Glos s a ry te rm"
[Norma l, 10pt, Ve rda na ] "Body te xt"
[Ita lic, ora nge , s ma ll ca ps ] "Bob"
S tyle s he e ts a re control docume nts
tha t a re re fe re nce d by conte nt
docume nts
MS Word, othe r e ditors & de s ktop
publis hing progra ms ha ve done it for ye a rs
20. Why Us e CS S ?
HTML forma tting is a wkwa rd a nd
impre cis e
Origina lly inte nde d to de live r we ll
orga nize d te xt (a ime d a t s tructure , not
forma tting)
Ove r time , forma tting e le me nts we re
a dde d tha t s olve d s ome proble ms , but
cre a te d ma ny more
W3C propos e d Ca s ca ding S tyle
S he e ts
S e pa ra te forma t from conte nt
Enforce cons is te ncy
21. Wha t's "Ca s ca ding" All About?
Thre e pla ce s to put s tyle comma nds
Exte rna l: Affe cts a ll docume nts it's a tta che d
to
Inte rna l: Affe cts only docume nt it a ppe a rs in
Inline : Affe cts only te xt it's a pplie d to
Ca s ca ding me a ns s tyle s ' "pe cking
orde r"
P re ce de nce is : Inline > Inte rna l > Exte rna l
S e e ms ba ckwa rd, but it couldn't work a ny
othe r wa y; for e xa mple …
P icture a docume nt whos e s tyle s he e t
s pe cifie s Ve rda na a s the font, with one
22. Wha t Ca n CS S Control?
Almos t e ve rything
P a ge ba ckground, colors , ima ge s , fonts a nd
te xt, ma rgins a nd s pa cing, he a dings ,
pos itioning, links , lis ts , ta ble s , curs ors , e tc.
W3C inte nds CS S to "…re lie ve HTML
of the re s pons ibility of pre s e nta tion."
Tra ns la tion: "Don't bug us for ne w ta gs ;
cha nge e xis ting ta gs & ma ke your own us ing
CS S ."
Ide a is to put a ll forma tting in CS S
To tha t e nd, ma ny ta gs a re "de pre ca te d" by
CS S : <font>, <ba s e font>, <ce nte r>,
23. Coding CS S Rule s
Rule s ha ve ve ry s pe cific pa rts a nd s ynta x
Rule s ha ve two ba s ic pa rts : s e le ctor a nd de cla ra tion
De cla ra tion a ls o ha s two pa rts : prope rty a nd va lue
rule
h2 { font-style : italic ; }
property
selector
value
declaration
S e le ctor te lls the rule wha t to modify
De cla ra tion te lls the rule how to modify it
24. CS S Rule P la ce me nt
In a s e pa ra te .CS S file
Affe cts a ll pa ge s to which it is linke d
.CS S re fe re nce d by pa ge s with <link> ta g
In the <he a d> of a n .HTM pa ge
Affe cts only pa ge in which it a ppe a rs
Rule s a re code d in <s tyle ></s tyle >
conta ine r
In a n HTML ta g in pa ge <body>
Affe cts only te xt to which it is a tta che d
De cla ra tions a re code d a s a ttribute =
" v a lue " pa irs , e .g., s tyle ="color: blue ;"
25. Linking To An Exte rna l CS S
Do not put <s tyle ></s tyle > ta gs in
the .CS S file ; this will pre ve nt it from
working
Add CS S rule s a s ne e de d; bre a k line s
whe re ne ce s s a ry; forma t a s de s ire d
S a ve a s file na m e .cs s
Re fe re nce .CS S in <he a d> of .HTM(s )
<head>
<link rel="stylesheet" type="text/css"
href="mystyles.css">
</head>
26. Adding S tyle s To A S ingle P a ge
Within docume nt's <he a d>, ins e rt a
<s tyle ></s tyle > conta ine r
Code rule s e xa ctly a s you would in a n
e xte rna l .CS S
<head>
<style>
h2 { font-style: italic; color: red; }
p { font-family: "Verdana, Arial, sansserif"; font-size: 12pt;
color: blue; }
</style>
</head>
27. Adding S tyle s To An HTML Ta g
Within a ta g's < >, code a n
a ttribute = " va lue " pa ir de fining s tyle
cha ra cte ris tics
Tip: Wa tch out for ne s te d quote s
<h1 style = "font: small-caps bold
italic; font-family: 'Verdana, Arial,
sans-serif'; color: #008080; textalign: center;">Gettysburg Address
(First Draft)</h1>
<p style = "font-family: Times;
color: #800000; font-weight: bold;">
Four score and seven beers ago…</p>
28. J a va S cript Intro
Wha t J a va S cript is n’t
J a va (obje ct-orie nte d progra mming la ngua ge )
A "progra mme rs -only" la ngua ge
Wha t J a va S cript is
Exte ns ion to HTML (s upport de pe nds on
brows e r)
An a cce s s ible , obje ct-ba s e d s cripting
la ngua ge
Wha t J a va S cript is for
Inte ra ctivity with the us e r:
* input (us e r provide s da ta to a pplica tion)
* proce s s ing (a pplica tion ma nipula te s da ta )
* output (a pplica tion provide s re s ults to us e r)
29. Imple me nting J a va S cript (1)
Dire ct ins e rtion into pa ge (imme dia te )
In <s cript></s cript> conta ine r within
docume nt he a d or body
Dire ct ins e rtion into pa ge (de fe rre d)
In <s cript></s cript> conta ine r a nd ins ide
function { … } de finition within docume nt
he a d or body
Through e xte rna l re fe re nce s
In e xte rna l .js file s (imme dia te /de fe rre d)
Much like CS S e xte rna l re fe re nce
Embe dde d inline
Within othe r ta gs (a s a ttribute va lue s )
30. Imple me nting J a va S cript (2a )
Dire ct ins e rtion into pa ge (imme dia te )
<body><p>Today is
<script>document.write( Date() );
</script></p>
Dire ct ins e rtion into pa ge (de fe rre d)
<head><script>
function dwd()
{
document.write( Date() );
}
</script></head>
. . .
<body><p>Today is <script>dwd();
</script></p>
31. Imple me nting J a va S cript (2b)
Through e xte rna l re fe re nce s
(imme dia te /de fe rre d de pe nds on s cript
file 's conte nts )
<script src="swapimgs.js"></script>
Embe dde d inline a s a ttribute va lue s
<img id="pic1" src="somepic.jpg"
onmouseover="swapin('pic1')"
onmouseout="swapout('pic1')">
. . .
<input type="button" value="Buy Now"
onclick="placeOrder('ordform')"
</input>
32. Ke y La ngua ge Compone nts
Obje cts
Things on a pa ge ; think no un
Attribute s
P rope rtie s of obje cts ; think a d je c tiv e
Me thods
Actions ta ke n by obje cts ; think v e rb
S ta te me nts
Line s of a s s e mble d compone nts ; think
s e nte nc e
Functions
Na me d groups of s ta te me nts ; think p a ra g ra p h
33. P rogra mming Cons tructs
Va ria ble s
Na me d e le me nts tha t ca n cha nge va lue
Da ta type s
Inte ge r, floa ting-point, Boole a n, s tring
Ope ra tors
As s ignme nt, compa ris on, a rithme tic,
Boole a n, s tring, s pe cia l
Control s ta te me nts
Conditions , loops
Ke ywords
Re s e rve d words with s pe cia l me a ning
34. A Fe w J S Exa mple s
(1)
S ome ba s ic J a va S cripts
To ge t the da y of the month
var day = new Date().getDate();
To do s ome thing te n time s
for (var x=0; x<10; x++)
{
document.write( x * x );
}
To ma ke a de cis ion a nd a ct on it
if (username == "Bob")
{ userisknown = true;
displayWelcomeBack(username); }
else
{ userisknown = false;
displayFirstLogin(username); }
35. A Fe w J S Exa mple s
(2)
S ome more ba s ic J a va S cripts
To write s ome thing into the pa ge
document.write("<b>Welcome, " +
uname + "</b>");
To ma ke a ca lcula tion
pcent = score / 100;
To s how the us e r a me s s a ge box
alert("Score: " + pcent + "%");
To put s ome te xt on the Windows clipboa rd
mycb = "daveg~armadillo";
clipboardData.setData("Text",mycb);
To force a jump to a nothe r pa ge
window.location="anotherpage.htm";
36. S umma ry
Mos t We b pa ge s – re mote or loca l –
a re a combina tion of thos e te chnologie s
Ra w conte nt, pla ce d ins ide …
HTML ta gs , forma tte d with…
CS S rule s , inte ra ctivity produce d by…
J a va S cript s cripts
Ne we r te chnologie s like DHTML,
XHTML, a nd XML a re ba s e d on the s e
A little knowle dge now ca n pre pa re you for
ne w te chnologie s a nd he lp you ke e p up
with your pe e rs , your bos s … a nd your kids !