The document discusses slides from a class on HTML and CSS. It notes that exams will be open-book but cell phones and email cannot be used, and any phone calls during the exam must be approved by the proctor. Examples of HTML tags for headings, paragraphs, links, images, and tables are also provided.
HTML has evolved significantly since its invention in the early 1990s to become more clean and simple. It started with tags to mark up text for formatting and structure, but now focuses on semantics. Key elements include links, images, lists, and tables. The World Wide Web Consortium oversees HTML standards to ensure the web remains based on open standards.
As programmers, we concentrate so much on the server/backend side of things that we often forget to measure performance from the Client's viewpoint. This presentation describes a bunch of techniques that can be used to speed up our websites.
JavaScript is one of three core web programming languages that all developers must learn, along with HTML and CSS. JavaScript code can be inserted into HTML documents using <script> tags and can be placed in the <head> or <body> sections. JavaScript functions and code can also be stored in external .js files and referenced using <script> tags. JavaScript provides various ways to display and output data, including writing to HTML elements using innerHTML, displaying popup alerts, writing to the browser console, and more.
Gilbert Guerrero provides instructions for an ARTDM 171 class on XHTML tags and group projects. Students are asked to submit any homework uploaded online by sending the instructor a link, or staying after class if not uploaded. They are instructed to create an "html" folder for Week 3 assignments and define a new Dreamweaver site using that folder. The document outlines various XHTML tags like <head>, <title>, <body>, <meta>, <p>, <br>, <a>, <img>, <ul>, <ol>, and <table>. It also discusses fonts, colors and sizes being set through CSS. Students are asked to form project groups of at least 3 people and submit initial group information by the following week. Home
This document discusses responsive image techniques for adaptive web design. It covers using fluid grids with percentages instead of pixels, media queries to load different CSS stylesheets for different screen widths, and setting image max-widths to 100% so they scale responsively. It also discusses feature testing browser width with JavaScript instead of browser sniffing, handling high pixel density "Retina" displays, and techniques like .htaccess rewriting, <picture> element, and JavaScript libraries to serve the most appropriate image assets. The focus is on delivering the right image for each device or screen size to optimize for bandwidth, performance, and user experience.
The document provides instructions for advanced web design using Dreamweaver. It discusses using cascading style sheets (CSS) to change the appearance of HTML elements and links. It also covers extracting common elements like headers, navigation menus, and footers into separate files to make pages more dynamic and reusable. The document demonstrates how to set up a basic website using Dreamweaver and customize pages by modifying HTML, CSS, and included content files.
Webware - from Document to Operating System Channy Yun
This document discusses the past, present and future of web technologies. It covers early web documents from the 1990s that used technologies like blink and marquee. It also discusses the browser wars of that time and the standards movement. The document then covers modern web technologies like HTML5, CSS3, Canvas, WebGL and APIs for multimedia, geolocation, offline apps and more. It discusses the evolution of the web to a runtime for applications rather than just documents. Finally, it discusses potential futures for the web like browser-based operating systems and the web as a business platform.
HTML has evolved significantly since its invention in the early 1990s to become more clean and simple. It started with tags to mark up text for formatting and structure, but now focuses on semantics. Key elements include links, images, lists, and tables. The World Wide Web Consortium oversees HTML standards to ensure the web remains based on open standards.
As programmers, we concentrate so much on the server/backend side of things that we often forget to measure performance from the Client's viewpoint. This presentation describes a bunch of techniques that can be used to speed up our websites.
JavaScript is one of three core web programming languages that all developers must learn, along with HTML and CSS. JavaScript code can be inserted into HTML documents using <script> tags and can be placed in the <head> or <body> sections. JavaScript functions and code can also be stored in external .js files and referenced using <script> tags. JavaScript provides various ways to display and output data, including writing to HTML elements using innerHTML, displaying popup alerts, writing to the browser console, and more.
Gilbert Guerrero provides instructions for an ARTDM 171 class on XHTML tags and group projects. Students are asked to submit any homework uploaded online by sending the instructor a link, or staying after class if not uploaded. They are instructed to create an "html" folder for Week 3 assignments and define a new Dreamweaver site using that folder. The document outlines various XHTML tags like <head>, <title>, <body>, <meta>, <p>, <br>, <a>, <img>, <ul>, <ol>, and <table>. It also discusses fonts, colors and sizes being set through CSS. Students are asked to form project groups of at least 3 people and submit initial group information by the following week. Home
This document discusses responsive image techniques for adaptive web design. It covers using fluid grids with percentages instead of pixels, media queries to load different CSS stylesheets for different screen widths, and setting image max-widths to 100% so they scale responsively. It also discusses feature testing browser width with JavaScript instead of browser sniffing, handling high pixel density "Retina" displays, and techniques like .htaccess rewriting, <picture> element, and JavaScript libraries to serve the most appropriate image assets. The focus is on delivering the right image for each device or screen size to optimize for bandwidth, performance, and user experience.
The document provides instructions for advanced web design using Dreamweaver. It discusses using cascading style sheets (CSS) to change the appearance of HTML elements and links. It also covers extracting common elements like headers, navigation menus, and footers into separate files to make pages more dynamic and reusable. The document demonstrates how to set up a basic website using Dreamweaver and customize pages by modifying HTML, CSS, and included content files.
Webware - from Document to Operating System Channy Yun
This document discusses the past, present and future of web technologies. It covers early web documents from the 1990s that used technologies like blink and marquee. It also discusses the browser wars of that time and the standards movement. The document then covers modern web technologies like HTML5, CSS3, Canvas, WebGL and APIs for multimedia, geolocation, offline apps and more. It discusses the evolution of the web to a runtime for applications rather than just documents. Finally, it discusses potential futures for the web like browser-based operating systems and the web as a business platform.
The document discusses key concepts about the World Wide Web and XHTML including:
- The World Wide Web is a subset of the Internet that allows sharing of web pages written in XHTML.
- Web browsers like Internet Explorer and Firefox are used to view web pages by requesting them from web servers.
- XHTML is the markup language used to structure and present content on web pages. It is based on HTML.
- Common XHTML tags are used to structure content like the <html>, <head>, <title>, <body>, <p>, <b>, <i> tags.
- Additional elements like images, headings, hyperlinks, and lists can be added to web pages using tags like <img
HTTP/2 addresses limitations in HTTP/1.x by multiplexing requests over a single TCP connection, compressing headers, and allowing servers to push responses. It leads to more efficient use of network resources and faster page loads. While browser support is good, server implementations are still maturing and need to fully support HTTP/2 features like streams, dependencies, and server push to provide optimizations. Efficient TLS is also important to avoid delays in taking advantage of HTTP/2 performance benefits.
This document provides an overview and agenda for a beginner web technologies workshop covering topics like HTML, CSS, JavaScript and more. The first day will introduce why the workshop is useful and provide basic terminology. It will cover HTML versions 4 and 5, CSS versions 2 and 3, and provide live examples. Key topics are why web technology is growing, how websites are used today and potential future capabilities. The document outlines terminology, explains client-server architecture and static vs dynamic pages, and provides examples to demonstrate various HTML elements, tags and attributes.
This document provides an overview of HTML, DHTML, and JavaScript. It discusses key topics such as:
- HTML is used to define different parts of a web page using tags. Basic HTML tags include <html>, <head>, <title>, and <body>.
- Dynamic HTML (DHTML) allows for controls that can respond to events and code modules, enabling richer interactive features compared to regular HTML.
- JavaScript is a programming language used to create dynamic web sites and enhance pages with interactive features. It runs in the client browser and can perform tasks like form validation, calculations, and more.
Web Engineering Lec01-02 - Introduction to Web.pptxJavaid Iqbal
The document provides an introduction to HTML and some of its core components. It discusses how the head element is used to communicate metadata to machines like search engines through tags like title, meta, link, and style. The body element contains the visible page content for users. Key points covered include the structure of a basic HTML document, common tags used in the head like title and link, and other tags like headings, paragraphs, images, and hyperlinks.
In this lecture, I provide an overview of what it takes to create amazing Web Apps : rich media, the Canvas API, local storage and offline persistence are covered.
GDI Seattle Intermediate HTML and CSS Class 1Heather Rock
The document provides an overview of an intermediate HTML and CSS class. It begins with introductions and setting ground rules. It then reviews key terms like web design, development, front end and back end. It reviews common tools like browsers, development toolkits, and text editors. It reviews the anatomy of a website, HTML elements, and CSS syntax. It covers techniques like resets, standard widths, wrappers, pseudo-selectors, linking pages, and using custom fonts. Finally, it provides a brief introduction to HTML5 and highlights new semantic elements.
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 an introduction to HTML and CSS for a WWW course. It discusses various HTML tags such as headings, paragraphs, lists, tables, and forms. It also covers CSS topics like the syntax, selectors, and properties for width and height. Students are assigned to improve their flower shop website by adding more pages that introduce the shop, showcases, and about page using images and various HTML elements and tags.
This document provides an introduction to HTML and CSS. It begins with an overview of the tools used for building websites, including text editors and browsers. It then covers the basic building blocks of HTML, such as the DOCTYPE, HTML, head, title, and body tags. It introduces other common HTML elements like headings, paragraphs, links, images, lists, and containers. The document also provides an introduction to CSS for styling HTML, including inline, internal and external CSS. It covers CSS selectors, properties and the box model. The document includes examples and exercises for working with HTML and CSS.
Jonathan's presentation provided great examples of some awesome sites and design companies that are using ExpressionEngine. He then gave an excellent walkthrough of the features and power of this designer-friendly CMS.
The major takeaway from his presentation is that he and Nate are "not programmers" and that you don't have to be to learn and utilize ExpressionEngine. It is built to work within your code to add functionality and deliver content dynamically.
The document summarizes a presentation about the ExpressionEngine content management system. It discusses ExpressionEngine's suitability for designers, its template engine, channel and weblog features for customizable content, code control abilities, easy syntax, and strong community support. The presentation concludes by thanking the audience and encouraging discussion.
This document provides an introduction to CSS and HTML basics. It explains that CSS allows changing the styling of an entire website by editing just one CSS file. It then covers HTML elements and structure, how to link an external CSS stylesheet, CSS selectors like classes and IDs, common CSS properties, and tips for validating code. Tutorial exercises are recommended to practice the concepts covered.
This document discusses HTML5 and provides examples of new HTML5 elements and features such as audio, video, and the canvas element. It demonstrates how to add audio and video to a basic HTML5 page structure and provides code samples using the canvas element to draw shapes. It also discusses HTML5 support in different browsers and techniques for improving compatibility, such as using JavaScript to add support for new elements in older browsers.
The document provides information on various topics related to web development including HTML, CSS, JavaScript, PHP and other technologies. It discusses common HTML tags like <head>, <body>, <p>, <img>, <a> and how to structure an HTML document. It also covers CSS concepts like selectors, properties and values. Finally, it summarizes different form elements in HTML like <input>, <textarea>, <select>, <button> and how to collect user information and submit it using forms.
This document provides an overview of various web development technologies including HTML, CSS, MySQL, PHP, and more. It discusses the basic structure of HTML and common tags like paragraphs, lists, links, and images. It also covers the different types of CSS (inline, internal, external) and how to link CSS to HTML. MySQL commands for creating databases, tables, queries, insertion, deletion and updating data are outlined. The document then explains what PHP is and basic syntax, data types, operators, conditional statements, loops. It provides examples of echoing text and using switch statements. Lastly, it briefly mentions additional topics like forms, jQuery, Ajax, sessions, SEO, RSS, and social media.
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.
[PyConZA 2017] Web Scraping: Unleash your Internet VikingAndrew Collier
This document provides an overview of scraping web pages, including:
- Why scrape rather than use APIs
- The difference between scraping and crawling
- The anatomy of web pages including HTML, CSS, and XPath for selecting elements
- Common files like robots.txt and sitemap.xml
- Python libraries like urllib and requests for working with URLs and making HTTP requests
This document provides information on key HTML elements and tags used to structure and format web pages. It discusses common tags for headings, paragraphs, lists, links, images, and forms. It also describes attributes that can be added to tags to specify styling, sizing, and other formatting options.
This document provides an overview of common HTML elements and their functions. It explains elements for structuring pages like <html>, <head>, <body>, as well as text elements, links, images, lists, forms, tables, multimedia embedding, and new HTML5 elements. The document acts as a reference for anyone looking to learn the basics of HTML elements and their attributes.
UiPath Test Automation using UiPath Test Suite series, part 6DianaGray10
Welcome to UiPath Test Automation using UiPath Test Suite series part 6. In this session, we will cover Test Automation with generative AI and Open AI.
UiPath Test Automation with generative AI and Open AI webinar offers an in-depth exploration of leveraging cutting-edge technologies for test automation within the UiPath platform. Attendees will delve into the integration of generative AI, a test automation solution, with Open AI advanced natural language processing capabilities.
Throughout the session, participants will discover how this synergy empowers testers to automate repetitive tasks, enhance testing accuracy, and expedite the software testing life cycle. Topics covered include the seamless integration process, practical use cases, and the benefits of harnessing AI-driven automation for UiPath testing initiatives. By attending this webinar, testers, and automation professionals can gain valuable insights into harnessing the power of AI to optimize their test automation workflows within the UiPath ecosystem, ultimately driving efficiency and quality in software development processes.
What will you get from this session?
1. Insights into integrating generative AI.
2. Understanding how this integration enhances test automation within the UiPath platform
3. Practical demonstrations
4. Exploration of real-world use cases illustrating the benefits of AI-driven test automation for UiPath
Topics covered:
What is generative AI
Test Automation with generative AI and Open AI.
UiPath integration with generative AI
Speaker:
Deepak Rai, Automation Practice Lead, Boundaryless Group and UiPath MVP
Climate Impact of Software Testing at Nordic Testing DaysKari Kakkonen
My slides at Nordic Testing Days 6.6.2024
Climate impact / sustainability of software testing discussed on the talk. ICT and testing must carry their part of global responsibility to help with the climat warming. We can minimize the carbon footprint but we can also have a carbon handprint, a positive impact on the climate. Quality characteristics can be added with sustainability, and then measured continuously. Test environments can be used less, and in smaller scale and on demand. Test techniques can be used in optimizing or minimizing number of tests. Test automation can be used to speed up testing.
The document discusses key concepts about the World Wide Web and XHTML including:
- The World Wide Web is a subset of the Internet that allows sharing of web pages written in XHTML.
- Web browsers like Internet Explorer and Firefox are used to view web pages by requesting them from web servers.
- XHTML is the markup language used to structure and present content on web pages. It is based on HTML.
- Common XHTML tags are used to structure content like the <html>, <head>, <title>, <body>, <p>, <b>, <i> tags.
- Additional elements like images, headings, hyperlinks, and lists can be added to web pages using tags like <img
HTTP/2 addresses limitations in HTTP/1.x by multiplexing requests over a single TCP connection, compressing headers, and allowing servers to push responses. It leads to more efficient use of network resources and faster page loads. While browser support is good, server implementations are still maturing and need to fully support HTTP/2 features like streams, dependencies, and server push to provide optimizations. Efficient TLS is also important to avoid delays in taking advantage of HTTP/2 performance benefits.
This document provides an overview and agenda for a beginner web technologies workshop covering topics like HTML, CSS, JavaScript and more. The first day will introduce why the workshop is useful and provide basic terminology. It will cover HTML versions 4 and 5, CSS versions 2 and 3, and provide live examples. Key topics are why web technology is growing, how websites are used today and potential future capabilities. The document outlines terminology, explains client-server architecture and static vs dynamic pages, and provides examples to demonstrate various HTML elements, tags and attributes.
This document provides an overview of HTML, DHTML, and JavaScript. It discusses key topics such as:
- HTML is used to define different parts of a web page using tags. Basic HTML tags include <html>, <head>, <title>, and <body>.
- Dynamic HTML (DHTML) allows for controls that can respond to events and code modules, enabling richer interactive features compared to regular HTML.
- JavaScript is a programming language used to create dynamic web sites and enhance pages with interactive features. It runs in the client browser and can perform tasks like form validation, calculations, and more.
Web Engineering Lec01-02 - Introduction to Web.pptxJavaid Iqbal
The document provides an introduction to HTML and some of its core components. It discusses how the head element is used to communicate metadata to machines like search engines through tags like title, meta, link, and style. The body element contains the visible page content for users. Key points covered include the structure of a basic HTML document, common tags used in the head like title and link, and other tags like headings, paragraphs, images, and hyperlinks.
In this lecture, I provide an overview of what it takes to create amazing Web Apps : rich media, the Canvas API, local storage and offline persistence are covered.
GDI Seattle Intermediate HTML and CSS Class 1Heather Rock
The document provides an overview of an intermediate HTML and CSS class. It begins with introductions and setting ground rules. It then reviews key terms like web design, development, front end and back end. It reviews common tools like browsers, development toolkits, and text editors. It reviews the anatomy of a website, HTML elements, and CSS syntax. It covers techniques like resets, standard widths, wrappers, pseudo-selectors, linking pages, and using custom fonts. Finally, it provides a brief introduction to HTML5 and highlights new semantic elements.
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 an introduction to HTML and CSS for a WWW course. It discusses various HTML tags such as headings, paragraphs, lists, tables, and forms. It also covers CSS topics like the syntax, selectors, and properties for width and height. Students are assigned to improve their flower shop website by adding more pages that introduce the shop, showcases, and about page using images and various HTML elements and tags.
This document provides an introduction to HTML and CSS. It begins with an overview of the tools used for building websites, including text editors and browsers. It then covers the basic building blocks of HTML, such as the DOCTYPE, HTML, head, title, and body tags. It introduces other common HTML elements like headings, paragraphs, links, images, lists, and containers. The document also provides an introduction to CSS for styling HTML, including inline, internal and external CSS. It covers CSS selectors, properties and the box model. The document includes examples and exercises for working with HTML and CSS.
Jonathan's presentation provided great examples of some awesome sites and design companies that are using ExpressionEngine. He then gave an excellent walkthrough of the features and power of this designer-friendly CMS.
The major takeaway from his presentation is that he and Nate are "not programmers" and that you don't have to be to learn and utilize ExpressionEngine. It is built to work within your code to add functionality and deliver content dynamically.
The document summarizes a presentation about the ExpressionEngine content management system. It discusses ExpressionEngine's suitability for designers, its template engine, channel and weblog features for customizable content, code control abilities, easy syntax, and strong community support. The presentation concludes by thanking the audience and encouraging discussion.
This document provides an introduction to CSS and HTML basics. It explains that CSS allows changing the styling of an entire website by editing just one CSS file. It then covers HTML elements and structure, how to link an external CSS stylesheet, CSS selectors like classes and IDs, common CSS properties, and tips for validating code. Tutorial exercises are recommended to practice the concepts covered.
This document discusses HTML5 and provides examples of new HTML5 elements and features such as audio, video, and the canvas element. It demonstrates how to add audio and video to a basic HTML5 page structure and provides code samples using the canvas element to draw shapes. It also discusses HTML5 support in different browsers and techniques for improving compatibility, such as using JavaScript to add support for new elements in older browsers.
The document provides information on various topics related to web development including HTML, CSS, JavaScript, PHP and other technologies. It discusses common HTML tags like <head>, <body>, <p>, <img>, <a> and how to structure an HTML document. It also covers CSS concepts like selectors, properties and values. Finally, it summarizes different form elements in HTML like <input>, <textarea>, <select>, <button> and how to collect user information and submit it using forms.
This document provides an overview of various web development technologies including HTML, CSS, MySQL, PHP, and more. It discusses the basic structure of HTML and common tags like paragraphs, lists, links, and images. It also covers the different types of CSS (inline, internal, external) and how to link CSS to HTML. MySQL commands for creating databases, tables, queries, insertion, deletion and updating data are outlined. The document then explains what PHP is and basic syntax, data types, operators, conditional statements, loops. It provides examples of echoing text and using switch statements. Lastly, it briefly mentions additional topics like forms, jQuery, Ajax, sessions, SEO, RSS, and social media.
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.
[PyConZA 2017] Web Scraping: Unleash your Internet VikingAndrew Collier
This document provides an overview of scraping web pages, including:
- Why scrape rather than use APIs
- The difference between scraping and crawling
- The anatomy of web pages including HTML, CSS, and XPath for selecting elements
- Common files like robots.txt and sitemap.xml
- Python libraries like urllib and requests for working with URLs and making HTTP requests
This document provides information on key HTML elements and tags used to structure and format web pages. It discusses common tags for headings, paragraphs, lists, links, images, and forms. It also describes attributes that can be added to tags to specify styling, sizing, and other formatting options.
This document provides an overview of common HTML elements and their functions. It explains elements for structuring pages like <html>, <head>, <body>, as well as text elements, links, images, lists, forms, tables, multimedia embedding, and new HTML5 elements. The document acts as a reference for anyone looking to learn the basics of HTML elements and their attributes.
UiPath Test Automation using UiPath Test Suite series, part 6DianaGray10
Welcome to UiPath Test Automation using UiPath Test Suite series part 6. In this session, we will cover Test Automation with generative AI and Open AI.
UiPath Test Automation with generative AI and Open AI webinar offers an in-depth exploration of leveraging cutting-edge technologies for test automation within the UiPath platform. Attendees will delve into the integration of generative AI, a test automation solution, with Open AI advanced natural language processing capabilities.
Throughout the session, participants will discover how this synergy empowers testers to automate repetitive tasks, enhance testing accuracy, and expedite the software testing life cycle. Topics covered include the seamless integration process, practical use cases, and the benefits of harnessing AI-driven automation for UiPath testing initiatives. By attending this webinar, testers, and automation professionals can gain valuable insights into harnessing the power of AI to optimize their test automation workflows within the UiPath ecosystem, ultimately driving efficiency and quality in software development processes.
What will you get from this session?
1. Insights into integrating generative AI.
2. Understanding how this integration enhances test automation within the UiPath platform
3. Practical demonstrations
4. Exploration of real-world use cases illustrating the benefits of AI-driven test automation for UiPath
Topics covered:
What is generative AI
Test Automation with generative AI and Open AI.
UiPath integration with generative AI
Speaker:
Deepak Rai, Automation Practice Lead, Boundaryless Group and UiPath MVP
Climate Impact of Software Testing at Nordic Testing DaysKari Kakkonen
My slides at Nordic Testing Days 6.6.2024
Climate impact / sustainability of software testing discussed on the talk. ICT and testing must carry their part of global responsibility to help with the climat warming. We can minimize the carbon footprint but we can also have a carbon handprint, a positive impact on the climate. Quality characteristics can be added with sustainability, and then measured continuously. Test environments can be used less, and in smaller scale and on demand. Test techniques can be used in optimizing or minimizing number of tests. Test automation can be used to speed up testing.
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.
AI-Powered Food Delivery Transforming App Development in Saudi Arabia.pdfTechgropse Pvt.Ltd.
In this blog post, we'll delve into the intersection of AI and app development in Saudi Arabia, focusing on the food delivery sector. We'll explore how AI is revolutionizing the way Saudi consumers order food, how restaurants manage their operations, and how delivery partners navigate the bustling streets of cities like Riyadh, Jeddah, and Dammam. Through real-world case studies, we'll showcase how leading Saudi food delivery apps are leveraging AI to redefine convenience, personalization, and efficiency.
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdfMalak Abu Hammad
Discover how MongoDB Atlas and vector search technology can revolutionize your application's search capabilities. This comprehensive presentation covers:
* What is Vector Search?
* Importance and benefits of vector search
* Practical use cases across various industries
* Step-by-step implementation guide
* Live demos with code snippets
* Enhancing LLM capabilities with vector search
* Best practices and optimization strategies
Perfect for developers, AI enthusiasts, and tech leaders. Learn how to leverage MongoDB Atlas to deliver highly relevant, context-aware search results, transforming your data retrieval process. Stay ahead in tech innovation and maximize the potential of your applications.
#MongoDB #VectorSearch #AI #SemanticSearch #TechInnovation #DataScience #LLM #MachineLearning #SearchTechnology
Monitoring and Managing Anomaly Detection on OpenShift.pdfTosin Akinosho
Monitoring and Managing Anomaly Detection on OpenShift
Overview
Dive into the world of anomaly detection on edge devices with our comprehensive hands-on tutorial. This SlideShare presentation will guide you through the entire process, from data collection and model training to edge deployment and real-time monitoring. Perfect for those looking to implement robust anomaly detection systems on resource-constrained IoT/edge devices.
Key Topics Covered
1. Introduction to Anomaly Detection
- Understand the fundamentals of anomaly detection and its importance in identifying unusual behavior or failures in systems.
2. Understanding Edge (IoT)
- Learn about edge computing and IoT, and how they enable real-time data processing and decision-making at the source.
3. What is ArgoCD?
- Discover ArgoCD, a declarative, GitOps continuous delivery tool for Kubernetes, and its role in deploying applications on edge devices.
4. Deployment Using ArgoCD for Edge Devices
- Step-by-step guide on deploying anomaly detection models on edge devices using ArgoCD.
5. Introduction to Apache Kafka and S3
- Explore Apache Kafka for real-time data streaming and Amazon S3 for scalable storage solutions.
6. Viewing Kafka Messages in the Data Lake
- Learn how to view and analyze Kafka messages stored in a data lake for better insights.
7. What is Prometheus?
- Get to know Prometheus, an open-source monitoring and alerting toolkit, and its application in monitoring edge devices.
8. Monitoring Application Metrics with Prometheus
- Detailed instructions on setting up Prometheus to monitor the performance and health of your anomaly detection system.
9. What is Camel K?
- Introduction to Camel K, a lightweight integration framework built on Apache Camel, designed for Kubernetes.
10. Configuring Camel K Integrations for Data Pipelines
- Learn how to configure Camel K for seamless data pipeline integrations in your anomaly detection workflow.
11. What is a Jupyter Notebook?
- Overview of Jupyter Notebooks, an open-source web application for creating and sharing documents with live code, equations, visualizations, and narrative text.
12. Jupyter Notebooks with Code Examples
- Hands-on examples and code snippets in Jupyter Notebooks to help you implement and test anomaly detection models.
Ocean lotus Threat actors project by John Sitima 2024 (1).pptxSitimaJohn
Ocean Lotus cyber threat actors represent a sophisticated, persistent, and politically motivated group that poses a significant risk to organizations and individuals in the Southeast Asian region. Their continuous evolution and adaptability underscore the need for robust cybersecurity measures and international cooperation to identify and mitigate the threats posed by such advanced persistent threat groups.
Your One-Stop Shop for Python Success: Top 10 US Python Development Providersakankshawande
Simplify your search for a reliable Python development partner! This list presents the top 10 trusted US providers offering comprehensive Python development services, ensuring your project's success from conception to completion.
Things to Consider When Choosing a Website Developer for your Website | FODUUFODUU
Choosing the right website developer is crucial for your business. This article covers essential factors to consider, including experience, portfolio, technical skills, communication, pricing, reputation & reviews, cost and budget considerations and post-launch support. Make an informed decision to ensure your website meets your business goals.
Building Production Ready Search Pipelines with Spark and MilvusZilliz
Spark is the widely used ETL tool for processing, indexing and ingesting data to serving stack for search. Milvus is the production-ready open-source vector database. In this talk we will show how to use Spark to process unstructured data to extract vector representations, and push the vectors to Milvus vector database for search serving.
TrustArc Webinar - 2024 Global Privacy SurveyTrustArc
How does your privacy program stack up against your peers? What challenges are privacy teams tackling and prioritizing in 2024?
In the fifth annual Global Privacy Benchmarks Survey, we asked over 1,800 global privacy professionals and business executives to share their perspectives on the current state of privacy inside and outside of their organizations. This year’s report focused on emerging areas of importance for privacy and compliance professionals, including considerations and implications of Artificial Intelligence (AI) technologies, building brand trust, and different approaches for achieving higher privacy competence scores.
See how organizational priorities and strategic approaches to data security and privacy are evolving around the globe.
This webinar will review:
- The top 10 privacy insights from the fifth annual Global Privacy Benchmarks Survey
- The top challenges for privacy leaders, practitioners, and organizations in 2024
- Key themes to consider in developing and maintaining your privacy program
How to Get CNIC Information System with Paksim Ga.pptxdanishmna97
Pakdata Cf is a groundbreaking system designed to streamline and facilitate access to CNIC information. This innovative platform leverages advanced technology to provide users with efficient and secure access to their CNIC details.
Driving Business Innovation: Latest Generative AI Advancements & Success StorySafe Software
Are you ready to revolutionize how you handle data? Join us for a webinar where we’ll bring you up to speed with the latest advancements in Generative AI technology and discover how leveraging FME with tools from giants like Google Gemini, Amazon, and Microsoft OpenAI can supercharge your workflow efficiency.
During the hour, we’ll take you through:
Guest Speaker Segment with Hannah Barrington: Dive into the world of dynamic real estate marketing with Hannah, the Marketing Manager at Workspace Group. Hear firsthand how their team generates engaging descriptions for thousands of office units by integrating diverse data sources—from PDF floorplans to web pages—using FME transformers, like OpenAIVisionConnector and AnthropicVisionConnector. This use case will show you how GenAI can streamline content creation for marketing across the board.
Ollama Use Case: Learn how Scenario Specialist Dmitri Bagh has utilized Ollama within FME to input data, create custom models, and enhance security protocols. This segment will include demos to illustrate the full capabilities of FME in AI-driven processes.
Custom AI Models: Discover how to leverage FME to build personalized AI models using your data. Whether it’s populating a model with local data for added security or integrating public AI tools, find out how FME facilitates a versatile and secure approach to AI.
We’ll wrap up with a live Q&A session where you can engage with our experts on your specific use cases, and learn more about optimizing your data workflows with AI.
This webinar is ideal for professionals seeking to harness the power of AI within their data management systems while ensuring high levels of customization and security. Whether you're a novice or an expert, gain actionable insights and strategies to elevate your data processes. Join us to see how FME and AI can revolutionize how you work with data!
OpenID AuthZEN Interop Read Out - AuthorizationDavid Brossard
During Identiverse 2024 and EIC 2024, members of the OpenID AuthZEN WG got together and demoed their authorization endpoints conforming to the AuthZEN API
“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.
Unlocking Productivity: Leveraging the Potential of Copilot in Microsoft 365, a presentation by Christoforos Vlachos, Senior Solutions Manager – Modern Workplace, Uni Systems
1. CS637 Class 2
We are looking at slides from
HTML and CSS: Design and Build Websites by Jon
Duckett
Slides are posted on the class website, protected by a
password written on the (virtual) board
Take roll for second and last time.
Note: Exams are open-books, no cell phone or email
use, proctored by Zoom, with private recording.
If you must take a phone call during an exam, tell the
proctor what you’re doing.
2.
3.
4. <h1>This is a Main Heading</h1>
<h2>This is a level 2 heading</h2>
<h3>This is a level 3 heading</h3>
<h4>This is a level 4 heading</h4>
<h5>This is a level 5 heading</h5>
<h6>This is a level 6 heading</h6>
HEADINGS
5.
6. <p>A paragraph consists of one or more
sentences that form a self-contained unit
of discourse. The start of a paragraph is
indicated by a new line.</p>
<p>Text is easier to understand when it is
split up into units of text. For example, a
book may have chapters. Chapters can have
subheadings. Under each heading will be one
or more paragraphs.</p>
PARAGRAPHS
10. <p>The Earth<br />gets one hundred tons
heavier every day<br />due to falling space
dust.</p>
LINE BREAKS
Note: <br> is the usual way to write
the line break.
11. <p>The Earth<br />gets one hundred tons
heavier every day<br />due to falling space
dust.</p>
LINE BREAKS
12.
13. <p><strong>Beware</strong> pickpockets
operate in this area.</p>
<p>I <em>think</em> Ivy was the first.</p>
<p>I think <em>Ivy</em> was the first.</p>
<p>I think Ivy was the <em>first</em>.</p>
STRONG & EMPHASIS
32. <h1 id="top">
Film-Making Terms</h1>
<a href="#arc-shot">
Arc shot</a><br />
<a href="#interlude">
Interlude</a><br />
<a href="#prologue">
Prologue</a><br />
…
<h2 id="prologue">
Prologue</h2>
LINKING TO A SPECIFIC PART OF
THE SAME PAGE
33. <h1 id="top">
Film-Making Terms</h2>
<a href="#arc-shot">
Arc shot</a><br />
<a href="#interlude">
Interlude</a><br />
<a href="#prologue">
Prologue</a><br />
<h2 id="prologue">
Prologue</h2>
<a href="#top">Top</a>
<h1 id="top">
Film-Making Terms</h2>
<a href="#arc-shot">
Arc shot</a><br />
<a href="#interlude">
Interlude</a><br />
<a href="#prologue">
Prologue</a><br />
…
<h2 id="prologue">
Prologue</h2>
<a href="#top">Top</a>
LINKING TO A SPECIFIC PART OF
THE SAME PAGE
49. RESULT
After right-click (not on image), View Source
we can see the HTML for the page
This is using Chrome, but this can be done in any desktop browser.
Chrome on smartphone: need to use URL view-source:http://whatever.
Can carefully edit URL with pencil that shows up with tap on URL.
50. HTML
<img src="images/quokka.jpg"
alt="A family of quokka"
title="The quokka is an Australian
marsupial that is similar in
size to the domestic cat"
width="600"
height="450" />
HEIGHT & WIDTH OF IMAGES
52. RESULT
Resizing
• Although browsers will resize images as
specified by width and height, it’s not a great
idea to use it.
• Can end up with distorted or fuzzy images.
• Better to make another right-size image
using a graphics editor and use that.
53. RESULT
How a page with an image gets displayed
• In this case, the user selects the page as usual
• The browser does a GET request to the server
• The server sends the HTML page with the <img>…
• The browser receives the HTML, parses the <img> URL, and
issues another GET request for the image data (no user
involvement here)
• The server sends the image data back
• The browser shows the completed page to the user
• This means two complete “request cycles” to the server
• We can make a chart showing this communication…
54. RESULT
Communications Diagram: page with <img>
(time flows down in diagram)
User/browser Server
2. Server: sees GET /…page.html,
Returns HTML on same connection
4.Server: sees GET
/…/quokka.jpg
return its data in same connection.
3. Browser: parses
page, sees <img>,
requests image
data
5. User: sees
finished page
1. User:
requests .html
page via
browser
55. RESULT
Chrome can show details on the two requests
Use right-click, inspect, choose
Network tab, reload page
56. RESULT
One page can involve many HTTP
requests (from last class)
From https://developer.mozilla.org/en-US/docs/Web/HTTP/Overview
57. <img src="images/bird.gif" alt="bird"
width="100" height="100" />
<p>There are around 10,000 living species
of birds that inhabit different ecosystems
from the Arctic to the Antarctic. Man
species undertake long distance annual
migrations, and many more perform shorter
irregular journeys.</p>
WHERE TO PLACE IMAGES
IN YOUR CODE
59. <p><img src="images/bird.gif" alt="bird"
width="100" height="100" />There are
around 10,000 living species of birds that
inhabit different ecosystems from the
Arctic to the Antarctic. Man species
undertake long distance annual migrations,
and many more perform shorter irregular
journeys.</p>
WHERE TO PLACE IMAGES
IN YOUR CODE
61. RESULT
<img> is “inline”
• Now we look at cases where the <img>
element lies inside the <p> element.
• <p> is a block element, starts a new line
• <img> Image is an inline element, keeps
going on the current line
• Other block elements: <h1>, <ul>, <li>, …
• Other inline elements: <em>, <a>, <strong>
62. <p>There are around 10,000 living species
of birds that inhabit different
<img src="images/bird.gif" alt="bird"
width="100" height="100" />
ecosystems from the Arctic to the
Antarctic. Man species undertake long
distance annual migrations, and many more
perform shorter irregular journeys.</p>
WHERE TO PLACE IMAGES
IN YOUR CODE
64. RESULT
“OLD CODE”
• In the next slide and in Duckett, “OLD
CODE” means pre-HTML5
• In HTML5, we use CSS to arrange non-
default positioning
• Skip “OLD CODE” for this class, but note it
could be useful for working with older HTML.
• We should revisit these examples once
we’ve tackled CSS.
65. <p><img src="images/bird.gif" alt="bird"
width="100" height="100" align="left" />
There are around 10,000 living species of
birds that inhabit different ecosystems
from the Arctic to the Antarctic. Man
species undertake long distance annual
migrations, and many more perform shorter
irregular journeys.</p>
OLD CODE: ALIGNING IMAGES
HORIZONTALLY (we’re skipping)
Similarly skip align=“right” inside <img>
68. Example image
• See http://htmlandcssbook.com/code-
samples/chapter-05/adding-images.html
• HTML:
<body>
<img src="images/quokka.jpg" alt="Quokka (Setonix brachyurus)" />
</body>
• Note how it stays the same size while you resize the
page. It shows in 600x450 screen pixels.
• On my laptop, 600 px width = 50% of screen width
• Right-click on image in Chrome, Inspect, to see its
dimensions.
69. Pixels
• Each digital image has a grid of pixels, written as width x height, for
example 600x450
• Each screen has “resolution” width x height pixels
o My old laptop: 1280x800, new one 1920x1080
o My desktop (20” “two-page” monitor): 1920x1080
o iPhone 5: 640x1136,…iPhone X: 1125x2436 … iPhone XS: 1125x2436
o Samsung S7, Note 9: 1440x2560, … S9 1440x2960
o Many old phones: 854x480
• We can expect about 1000 pixels across to work with
• In particular, the 600x450 image fits on any of these
• See pp. 377-378 for more examples.
70. • Create each image the same
width and height as you would
like it to appear on your
website, using total width =
1000 px.
• Check it on various devices.
• More on this later.
IMAGE DIMENSIONS
71. <figure>
<img src="images/otters.gif"
alt="Photograph of two sea otters
floating in the water" />
<br />
<figcaption>Sea otters hold hands when
they sleep so that they don’t
drift away from each other.
</figcaption>
</figure>
HTML5: FIGURE &
FIGURE CAPTION (HTML5)
72. <figure>
<img src="images/otters.gif"
alt="Photograph of two sea otters
floating in the water" />
<br />
<figcaption>Sea otters hold hands when
they sleep so that they don’t
drift away from each other.
</figcaption>
</figure>
HTML5: FIGURE &
FIGURE CAPTION
73. <figure>
<img src="images/otters.gif"
alt="Photograph of two sea otters
floating in the water" />
<br />
<figcaption>Sea otters hold hands when
they sleep so that they don’t
drift away from each other.
</figcaption>
</figure>
HTML5: FIGURE &
FIGURE CAPTION
97. Name-value pairs sent to server
• HTTP GET: in URL query string
GET /webapp/program?username=Ivy HTTP/1.0
… headers
• HTTP POST: in the body of the request:
POST /webapp/program
… headers
… encoded name-value pairs
Note: HTTP POST is the usual way to send in form data,
as we will see.
98. Communications Diagram: simple form handling
(time flows down in diagram)
User/browser Server
2. Server: sees GET /…form.html,
returns form.html on same connection
4.Server: sees POST /…/doit.php
Get user input from params, do
requested action, compose response,
return it in same connection.
3. User: fills in form
Browser: puts user
input into params
in POST request
5. User: sees
response
1. User:
requests form
page via
browser
120. HTML
<form action="http://eg.com/add.php">
<button>
<img src="images/add.gif" alt="add"
width="10" height="20" />
</button>
</form>
This submits the form, like <input type=“submit”> or <input type=“image”>.
Tip from www.w3schools.com: If you use the <button> element in an
HTML form, different browsers may submit different values. Use <input> to
create buttons in an HTML form.
• Let’s follow this rule.
BUTTONS: Don’t use <button> inside
a form!
121. HTML
<form action="http://eg.com/add.php">
<button> <img src="images/add.gif"
alt="add" width="10" height="20"
/></button>
<input type="image" src="images/add.gif"
alt="add" width="10" height="20" />
<input type="hidden" name="bookmark"
value="lyrics" />
</form>
HIDDEN FORM CONTROLS
And fix pg. 162: replace <button> with <input>
123. RESULT
Communications Diagram: form handling
Case of form having hidden control “bookmark”
User/browser Server
2. Server: sees GET /…form.html,
returns form.html on same connection
4.Server: sees
GET /add.php?bookmark=lyrics
Gets bookmark value, does requested
action, composes response, returns it
in same connection.
3. User: clicks
button
Browser: puts
bookmark=lyrics in
GET request
5. User: sees
response
1. User:
requests form
page via
browser
136. Whenever you want to collect
information from visitors you
will need a form, which lives
inside a <form> element.
Note: this is not strictly true, since it is possible to use
<input> outside a form along with scripts that specify
resulting behavior on user actions. It is true for simple
PHP websites (they have no scripts).
SUMMARY