The document provides an overview of HTML5, including new features such as video playback, drag-and-drop, local storage and geolocation. It discusses HTML5 syntax, elements, attributes, forms, and events. Key points include HTML5 being the latest version that incorporates features previously requiring plugins, improved form handling, and new semantic elements like <header> and <section>. Browser support for HTML5 is good among modern browsers.
The document provides a summary of key HTML elements and concepts in 3 sentences or less:
HTML and XHTML are the foundation of web development. This document summarizes important HTML elements like headings, paragraphs, lists, links, images and tables, as well as concepts like validation, templates, and specialized markup. It also introduces useful open source tools for web development.
This document is a group assignment submitted by 6 students from Assosa University in Ethiopia on May 26, 2013. It provides information on HTML, XHTML, XML, and summarizes key differences between these markup languages. HTML is for creating web pages, XHTML is a stricter version of HTML, and XML is a generic markup language that allows users to define their own tags for transporting and storing data.
HTML5 Deciphered discusses HTML5 specifications and their development process. It introduces several new HTML5 elements such as <header>, <footer>, <nav>, <aside>, and <section> that provide semantic structure. It also covers new input types, native audio and video, geolocation, and the canvas element for drawing graphics. The document explains how these new features work and their current browser support.
This document provides an introduction to XHTML and its components. It discusses how to:
1) Create basic XHTML documents with elements like <html>, <head>, <title>, and <body>.
2) Add headings, links, images, lists, tables, and forms to XHTML pages.
3) Use validation services to check documents for syntax errors.
4) Include special characters and formatting like horizontal rules.
This presentation is an introduction to the new features of
HTML5. The main elements of this document are:
* Brief history of HTML5
*The improvements
* Browser support
* Semantic elements
* Content Editable on pages
* Video Tag
* Canvas tag
* Local storage
* Geolocation API
* Offline applications
* Microdata
* Use cases
XHTML was created to replace HTML and is defined using XML rather than SGML. It is nearly identical to HTML but aims to be cleaner and more extensible by requiring elements to be properly nested, closed, and case-sensitive. Documents must also have a DOCTYPE declaration and refer to a DTD that defines syntax requirements. There are three main DTDs that can be used with XHTML - Strict, Transitional, and Frameset - depending on whether style information or frames are needed.
The document provides a summary of key HTML elements and concepts in 3 sentences or less:
HTML and XHTML are the foundation of web development. This document summarizes important HTML elements like headings, paragraphs, lists, links, images and tables, as well as concepts like validation, templates, and specialized markup. It also introduces useful open source tools for web development.
This document is a group assignment submitted by 6 students from Assosa University in Ethiopia on May 26, 2013. It provides information on HTML, XHTML, XML, and summarizes key differences between these markup languages. HTML is for creating web pages, XHTML is a stricter version of HTML, and XML is a generic markup language that allows users to define their own tags for transporting and storing data.
HTML5 Deciphered discusses HTML5 specifications and their development process. It introduces several new HTML5 elements such as <header>, <footer>, <nav>, <aside>, and <section> that provide semantic structure. It also covers new input types, native audio and video, geolocation, and the canvas element for drawing graphics. The document explains how these new features work and their current browser support.
This document provides an introduction to XHTML and its components. It discusses how to:
1) Create basic XHTML documents with elements like <html>, <head>, <title>, and <body>.
2) Add headings, links, images, lists, tables, and forms to XHTML pages.
3) Use validation services to check documents for syntax errors.
4) Include special characters and formatting like horizontal rules.
This presentation is an introduction to the new features of
HTML5. The main elements of this document are:
* Brief history of HTML5
*The improvements
* Browser support
* Semantic elements
* Content Editable on pages
* Video Tag
* Canvas tag
* Local storage
* Geolocation API
* Offline applications
* Microdata
* Use cases
XHTML was created to replace HTML and is defined using XML rather than SGML. It is nearly identical to HTML but aims to be cleaner and more extensible by requiring elements to be properly nested, closed, and case-sensitive. Documents must also have a DOCTYPE declaration and refer to a DTD that defines syntax requirements. There are three main DTDs that can be used with XHTML - Strict, Transitional, and Frameset - depending on whether style information or frames are needed.
This document discusses HTML5 and CSS3 and how they can be used to enhance the user experience on websites. It provides an overview of key features of HTML5, such as offline storage, video and audio embedding, graphics capabilities, and geolocation. It also outlines visual enhancement capabilities of CSS3, such as shadows, gradients, and animations. The document advocates testing new technologies and observing how other applications use them, while also encouraging responsible development. It concludes by noting that HTML5 and CSS3 will continue pushing the web towards cloud computing.
This document provides an overview of key web development concepts including HTML, CSS, JavaScript, dynamic web pages, separation of concerns, MVC, AJAX, and Web 2.0. It discusses how these concepts work together to build modern, dynamic websites that are engaging for users. The document also provides examples of how to structure code using these techniques in languages like Ruby on Rails.
HTML5 introduces a number of new elements and attributes that helps in building a modern websites. This presentation explains new great features introduced in HTML5.
The document provides information about HTML Template Language (HTL) in AEM, including what HTL is, why it was introduced, its main features and syntax. HTL is the preferred templating language for AEM that enforces separation of concerns between presentation and business logic. It uses HTML5 syntax along with additional data attributes and expressions to add dynamic functionality.
Today’s designers when asked about HTML5 do hesitate to answer because of the lack of knowledge about HTML5.A Free Ebook On HTML 5 Step by Step Guide..
This document provides an overview of HTML and XHTML. It describes that HTML is the markup language used to create web pages, consisting of elements with tags. It discusses HTML tags, elements, attributes and comments. It then explains that XHTML was developed as a reformulation of HTML in XML format for increased extensibility and interoperability. The document outlines the standard structure for XHTML documents, including the XML declaration, DOCTYPE declaration and namespaces.
The document discusses various topics related to web development including XHTML, CSS, and JavaScript. It provides definitions and explanations of XHTML, CSS, JavaScript, and the differences between HTML and XHTML. It also covers common issues with supporting older browsers like IE6 and strategies for overcoming those issues such as using frameworks to simplify tasks like DOM manipulation and event handling.
HTML5 attributes provide properties for elements and come in standard and custom varieties. Standard attributes include class, id, style, and title. Custom attributes begin with "data-" and allow authors to define their own attributes. Attributes are specified in start tags and provide functionality like specifying styles, linking to CSS, and associating data with elements.
The document provides an overview of HTML and CSS, including:
- HTML gives content structure and meaning using elements like headings and paragraphs, while CSS is used to style the appearance of content.
- Common HTML terms are explained, like elements, tags, opening/closing tags, and attributes.
- The basic structure of an HTML document is outlined, including the <!DOCTYPE html>, <html>, <head>, and <body> elements.
- Self-closing elements are discussed, which use a single tag like <meta>.
The document provides an agenda and details for a weekly presentation during a training program on information technology. The presentation covers HTML, CSS, and JavaScript. It defines HTML and the differences between HTML4 and HTML5. It describes the HTML5 structure and semantic elements. It also defines CSS and why it is used, CSS selectors and syntax, the box model, CSS units, and different types of JavaScript functions.
Hello Friends..Welcome again.
Today Igot for you amazing topic for the learning that is, HTML vs XHTML. People generally get confuse with these two Web Development Languages.
I hope this presentation will help you in understanding the difference between both the languages.
This chapter introduces XHTML and covers:
- The transition from HTML to XHTML and XML syntax requirements
- The anatomy of a web page including head, body, and DTD sections
- Common inline and block-level tags for formatting text and elements
- Special characters and how to display them
- Creating hyperlinks within and between pages using absolute and relative linking
The document provides an overview of Dynamic HTML (DHTML) and its core technologies: HTML, CSS, JavaScript, and the DOM. It explains that DHTML allows dynamic and interactive web pages by combining these technologies. JavaScript is described as the scripting language that defines dynamic behavior, handling events and user interactions to manipulate the DOM. The document gives examples of common JavaScript functions, syntax elements, and how to incorporate JavaScript code into web pages.
El documento ofrece consejos para enfrentar las dificultades de la vida y las acciones negativas de otros, recomendando siempre dar lo mejor de uno mismo, perdonar a otros, ser amable, seguir adelante a pesar de los obstáculos y enfocarse en la relación con Dios más que en la opinión de los demás.
El documento resume los conceptos aprendidos sobre blogs, Twitter, Web 2.0, Web 3.0 y Webquest. Explica cómo antes pensaba que estos términos se usaban principalmente para otros fines, pero ahora comprende su aplicación educativa, como la difusión de conocimientos y el fomento de la colaboración.
The document summarizes the purpose and agenda of the Acacia Research and Learning Forum All Partners Meeting in Dakar, Senegal from October 4-8, 2009. The goals of the meeting were to share lessons learned from Acacia-supported ICT4D projects in Africa, provide capacity building and networking opportunities, and explore future research priorities. It also aimed to answer how funding research in ICT4D has contributed to Africa's development. The document lists the total funding provided by Acacia from 2003-2009 and notes that the GRACE MENA project also included Lebanon, Palestine, Jordan, Egypt. It concludes by thanking participants and listing the Acacia team members from 1998-present.
Este documento proporciona información sobre la historia, tipos y aplicaciones clínicas de la anestesia local. Brevemente describe el origen de los anestésicos locales a partir de la cocaína y cómo se han sintetizado anestésicos como la lidocaína, mepivacaína y bupivacaína. Además, explica conceptos como el dolor agudo y crónico, y los diferentes tipos de anestesia como la tópica, por infiltración y regional.
El documento resume las ideas centrales de Henry Jenkins sobre la convergencia de medios. Jenkins argumenta que la convergencia implica el flujo de contenido a través de múltiples plataformas, la cooperación entre industrias de medios, y el comportamiento migratorio de las audiencias. También introduce los conceptos de cultura participativa, en la que los usuarios interactúan según nuevas reglas, e inteligencia colectiva, mediante el compartir de recursos y habilidades.
This document discusses HTML5 and CSS3 and how they can be used to enhance the user experience on websites. It provides an overview of key features of HTML5, such as offline storage, video and audio embedding, graphics capabilities, and geolocation. It also outlines visual enhancement capabilities of CSS3, such as shadows, gradients, and animations. The document advocates testing new technologies and observing how other applications use them, while also encouraging responsible development. It concludes by noting that HTML5 and CSS3 will continue pushing the web towards cloud computing.
This document provides an overview of key web development concepts including HTML, CSS, JavaScript, dynamic web pages, separation of concerns, MVC, AJAX, and Web 2.0. It discusses how these concepts work together to build modern, dynamic websites that are engaging for users. The document also provides examples of how to structure code using these techniques in languages like Ruby on Rails.
HTML5 introduces a number of new elements and attributes that helps in building a modern websites. This presentation explains new great features introduced in HTML5.
The document provides information about HTML Template Language (HTL) in AEM, including what HTL is, why it was introduced, its main features and syntax. HTL is the preferred templating language for AEM that enforces separation of concerns between presentation and business logic. It uses HTML5 syntax along with additional data attributes and expressions to add dynamic functionality.
Today’s designers when asked about HTML5 do hesitate to answer because of the lack of knowledge about HTML5.A Free Ebook On HTML 5 Step by Step Guide..
This document provides an overview of HTML and XHTML. It describes that HTML is the markup language used to create web pages, consisting of elements with tags. It discusses HTML tags, elements, attributes and comments. It then explains that XHTML was developed as a reformulation of HTML in XML format for increased extensibility and interoperability. The document outlines the standard structure for XHTML documents, including the XML declaration, DOCTYPE declaration and namespaces.
The document discusses various topics related to web development including XHTML, CSS, and JavaScript. It provides definitions and explanations of XHTML, CSS, JavaScript, and the differences between HTML and XHTML. It also covers common issues with supporting older browsers like IE6 and strategies for overcoming those issues such as using frameworks to simplify tasks like DOM manipulation and event handling.
HTML5 attributes provide properties for elements and come in standard and custom varieties. Standard attributes include class, id, style, and title. Custom attributes begin with "data-" and allow authors to define their own attributes. Attributes are specified in start tags and provide functionality like specifying styles, linking to CSS, and associating data with elements.
The document provides an overview of HTML and CSS, including:
- HTML gives content structure and meaning using elements like headings and paragraphs, while CSS is used to style the appearance of content.
- Common HTML terms are explained, like elements, tags, opening/closing tags, and attributes.
- The basic structure of an HTML document is outlined, including the <!DOCTYPE html>, <html>, <head>, and <body> elements.
- Self-closing elements are discussed, which use a single tag like <meta>.
The document provides an agenda and details for a weekly presentation during a training program on information technology. The presentation covers HTML, CSS, and JavaScript. It defines HTML and the differences between HTML4 and HTML5. It describes the HTML5 structure and semantic elements. It also defines CSS and why it is used, CSS selectors and syntax, the box model, CSS units, and different types of JavaScript functions.
Hello Friends..Welcome again.
Today Igot for you amazing topic for the learning that is, HTML vs XHTML. People generally get confuse with these two Web Development Languages.
I hope this presentation will help you in understanding the difference between both the languages.
This chapter introduces XHTML and covers:
- The transition from HTML to XHTML and XML syntax requirements
- The anatomy of a web page including head, body, and DTD sections
- Common inline and block-level tags for formatting text and elements
- Special characters and how to display them
- Creating hyperlinks within and between pages using absolute and relative linking
The document provides an overview of Dynamic HTML (DHTML) and its core technologies: HTML, CSS, JavaScript, and the DOM. It explains that DHTML allows dynamic and interactive web pages by combining these technologies. JavaScript is described as the scripting language that defines dynamic behavior, handling events and user interactions to manipulate the DOM. The document gives examples of common JavaScript functions, syntax elements, and how to incorporate JavaScript code into web pages.
El documento ofrece consejos para enfrentar las dificultades de la vida y las acciones negativas de otros, recomendando siempre dar lo mejor de uno mismo, perdonar a otros, ser amable, seguir adelante a pesar de los obstáculos y enfocarse en la relación con Dios más que en la opinión de los demás.
El documento resume los conceptos aprendidos sobre blogs, Twitter, Web 2.0, Web 3.0 y Webquest. Explica cómo antes pensaba que estos términos se usaban principalmente para otros fines, pero ahora comprende su aplicación educativa, como la difusión de conocimientos y el fomento de la colaboración.
The document summarizes the purpose and agenda of the Acacia Research and Learning Forum All Partners Meeting in Dakar, Senegal from October 4-8, 2009. The goals of the meeting were to share lessons learned from Acacia-supported ICT4D projects in Africa, provide capacity building and networking opportunities, and explore future research priorities. It also aimed to answer how funding research in ICT4D has contributed to Africa's development. The document lists the total funding provided by Acacia from 2003-2009 and notes that the GRACE MENA project also included Lebanon, Palestine, Jordan, Egypt. It concludes by thanking participants and listing the Acacia team members from 1998-present.
Este documento proporciona información sobre la historia, tipos y aplicaciones clínicas de la anestesia local. Brevemente describe el origen de los anestésicos locales a partir de la cocaína y cómo se han sintetizado anestésicos como la lidocaína, mepivacaína y bupivacaína. Además, explica conceptos como el dolor agudo y crónico, y los diferentes tipos de anestesia como la tópica, por infiltración y regional.
El documento resume las ideas centrales de Henry Jenkins sobre la convergencia de medios. Jenkins argumenta que la convergencia implica el flujo de contenido a través de múltiples plataformas, la cooperación entre industrias de medios, y el comportamiento migratorio de las audiencias. También introduce los conceptos de cultura participativa, en la que los usuarios interactúan según nuevas reglas, e inteligencia colectiva, mediante el compartir de recursos y habilidades.
The document provides an overview of HTML5, including its new features such as video playback without plugins, new semantic elements like <header> and <footer>, and support across modern browsers. It discusses HTML5 elements, attributes, syntax, and document structure. New elements help build modern websites, while attributes like class and id can be used to style and identify elements. HTML5 aims to be backwards compatible with older browsers.
The document provides an overview of HTML5, including its new features compared to previous versions of HTML. It describes how HTML5 introduces new semantic elements, forms improvements, local storage capabilities, audio/video embedding without plugins, and drag-and-drop functionality. It also covers HTML5 document structure, elements, attributes, events, and forms improvements in Web Forms 2.0.
The document provides an overview of HTML5, including its new features compared to previous versions of HTML. It describes how HTML5 introduces new semantic elements, forms improvements, local storage capabilities, audio/video embedding without plugins, and drag-and-drop functionality. It also covers HTML5 document structure, elements, attributes, events, and forms improvements in Web Forms 2.0.
The document provides an overview of HTML5, including its new features such as video playback without plugins, new semantic elements like <header> and <footer>, and support across modern browsers. It discusses HTML5's backwards compatibility and flexible syntax compared to previous HTML standards. New elements, attributes, and document structure in HTML5 are also outlined.
The document provides an overview of HTML5, including its new features compared to previous versions of HTML. It describes how HTML5 introduces new semantic elements, forms improvements, local storage capabilities, audio/video embedding without plugins, and drag and drop functionality. It also covers HTML5 syntax changes like the new DOCTYPE declaration and provides examples of using various HTML5 elements, attributes, and events in web pages.
80% of the end-user response time is spent on the front-end. (YSlow Team)
By following these best practices we can have a great impact over the performance of our sites and applications.
In these slides we will go through some best practices related to performance, semantics & accessibility and patterns for better maintainability and readability which is gold when collaborating.
In the second part of the slideshow we will share some tips on how to pick the best layout available, create the slices with optimization in mind, master the basics and stay organized form the beginning with your CSS code.
DSC Charusat brings out a "Learning React" Series workshop for you all. So the first workshop of the series is on 19th Sept,20 (Saturday) and it will cover Basics of HTML, CSS and JS with ES6
IJCER (www.ijceronline.com) International Journal of computational Engineerin...ijceronline
The document compares HTML and HTML5. It outlines several key differences:
1) HTML5 introduces new semantic elements that improve accessibility and help structure pages, while HTML focuses on generic div elements.
2) HTML5 supports embedded audio and video with new tags, whereas HTML4 does not define media elements.
3) HTML5 offers new capabilities like local storage, geolocation, and real-time communication that HTML lacks.
Overall, HTML5 provides a more robust and accessible standard for developing modern web applications and pages compared to older HTML. It introduces powerful new features while maintaining compatibility with existing browsers.
This document provides an overview of the basic structure and elements of an HTML5 template. It begins with a barebones template containing the doctype, html, head and body elements. The doctype has been simplified in HTML5 to just <!doctype html>. Several elements in the head like the character encoding and stylesheet link have also been simplified. The template includes an HTML5 shiv to provide support for new HTML5 elements in older browsers. The document explains each part of the template.
This document provides an introduction to building modern websites using HTML5 and CSS3. It discusses several new features in HTML5, including semantic elements, the <canvas> element for 2D drawing, <audio> and <video> elements for multimedia, local storage APIs, and offline application support. The document also outlines some prerequisites for using these new technologies, such as installing the latest browsers. Finally, it notes that the tutorial will demonstrate how to develop a sample webpage using many of the new HTML5 and CSS3 features.
This document provides an introduction to building modern websites using HTML5 and CSS3. It discusses several new features in HTML5, including semantic elements, the <canvas> element for 2D drawing, <audio> and <video> elements for multimedia, local storage APIs, and offline application support. The document also outlines some prerequisites for using these new technologies, such as installing the latest browsers. Finally, it notes that a sample website later in the tutorial demonstrates several HTML5 and CSS3 features.
Tim Berners-Lee proposed and developed the World Wide Web in 1989-1990 while working at CERN. He specified HTML and created the first web browser and server. Early versions of HTML added support for basic styling, images, forms and tables. HTML 4 separated styling from content using CSS. HTML5 is the current standard and supports audio, video and vector graphics, though some capabilities require additional technologies like JavaScript. HTML documents use tags to structure and present content, with elements like <html>, <head>, <title> and <body> forming the basic structure.
HTML5 is taking over from HTML 4.01 as the main markup language. While HTML5 is still evolving, modern browsers support most of its features. HTML5 allows embedding video and audio without plugins, brings new semantic elements like header, nav, article, and aside, and improves forms with features like placeholder text, email validation, and date/time pickers. It also removes unused elements and adds new input types. HTML5 provides a better user experience than previous standards and makes rich content and interactivity easier for developers to implement.
Markup provides information about document structure and presentation. It includes start and closing tags like <p> and </p>. HTML is a markup language used to build web pages and includes elements like <head> and <body>. It has a defined structure with tags nested properly. HTML documents are text files with a .html extension.
- Lit-html is a library that allows HTML templates to be rendered efficiently using JavaScript template literals. It parses template literals and creates a template object with "parts" that can be updated.
- Rendering only updates the dynamic parts of the template, avoiding re-rendering the entire template and reducing work. Templates are treated as values that can be manipulated.
- Google is working on lit-html to standardize its parsing of templates and "template parts" concept, with the goal of it potentially being adopted directly into the web platform. Lit-html aims to have minimal limitations and a standardized public API for extensions.
The document discusses customizing HTML outputs from DITA using CSS stylesheets and parameters. It provides an overview of common HTML formats (XHTML, HTML Help, Eclipse Help, JavaHelp), how they can be customized through CSS, parameters, and XSL overrides. It also covers context sensitivity for HTML Help and Eclipse Help through plugins, and resources for further customization.
This document provides an introduction to building modern websites using HTML5 and CSS3. It discusses several new features in HTML5, including semantic elements, the <canvas> element for 2D drawing, <audio> and <video> elements for multimedia, local storage for offline applications, and other new elements and APIs. The document recommends installing the latest versions of Firefox, Safari, Opera, and Chrome for full browser support. It will demonstrate these new features by developing a sample website using HTML5 and CSS3.
This document provides an introduction to building modern websites using HTML5 and CSS3. It discusses several new features in HTML5, including semantic elements, the <canvas> element for 2D drawing, <audio> and <video> elements for multimedia, local storage for offline applications, and other new elements and APIs. The tutorial assumes an intermediate level of experience with HTML, CSS, and JavaScript and provides code examples to demonstrate how to implement these new features.
HTML is a markup language that allows users to structure and format web pages. It uses tags like <p> and <div> to organize content into sections, paragraphs, headings, and other blocks. While HTML provides structure, CSS and JavaScript are needed to style pages and add dynamic functionality. HTML files are rendered and displayed in web browsers.
বাংলাদেশের অর্থনৈতিক সমীক্ষা ২০২৪ [Bangladesh Economic Review 2024 Bangla.pdf] কম্পিউটার , ট্যাব ও স্মার্ট ফোন ভার্সন সহ সম্পূর্ণ বাংলা ই-বুক বা pdf বই " সুচিপত্র ...বুকমার্ক মেনু 🔖 ও হাইপার লিংক মেনু 📝👆 যুক্ত ..
আমাদের সবার জন্য খুব খুব গুরুত্বপূর্ণ একটি বই ..বিসিএস, ব্যাংক, ইউনিভার্সিটি ভর্তি ও যে কোন প্রতিযোগিতা মূলক পরীক্ষার জন্য এর খুব ইম্পরট্যান্ট একটি বিষয় ...তাছাড়া বাংলাদেশের সাম্প্রতিক যে কোন ডাটা বা তথ্য এই বইতে পাবেন ...
তাই একজন নাগরিক হিসাবে এই তথ্য গুলো আপনার জানা প্রয়োজন ...।
বিসিএস ও ব্যাংক এর লিখিত পরীক্ষা ...+এছাড়া মাধ্যমিক ও উচ্চমাধ্যমিকের স্টুডেন্টদের জন্য অনেক কাজে আসবে ...
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UPRAHUL
This Dissertation explores the particular circumstances of Mirzapur, a region located in the
core of India. Mirzapur, with its varied terrains and abundant biodiversity, offers an optimal
environment for investigating the changes in vegetation cover dynamics. Our study utilizes
advanced technologies such as GIS (Geographic Information Systems) and Remote sensing to
analyze the transformations that have taken place over the course of a decade.
The complex relationship between human activities and the environment has been the focus
of extensive research and worry. As the global community grapples with swift urbanization,
population expansion, and economic progress, the effects on natural ecosystems are becoming
more evident. A crucial element of this impact is the alteration of vegetation cover, which plays a
significant role in maintaining the ecological equilibrium of our planet.Land serves as the foundation for all human activities and provides the necessary materials for
these activities. As the most crucial natural resource, its utilization by humans results in different
'Land uses,' which are determined by both human activities and the physical characteristics of the
land.
The utilization of land is impacted by human needs and environmental factors. In countries
like India, rapid population growth and the emphasis on extensive resource exploitation can lead
to significant land degradation, adversely affecting the region's land cover.
Therefore, human intervention has significantly influenced land use patterns over many
centuries, evolving its structure over time and space. In the present era, these changes have
accelerated due to factors such as agriculture and urbanization. Information regarding land use and
cover is essential for various planning and management tasks related to the Earth's surface,
providing crucial environmental data for scientific, resource management, policy purposes, and
diverse human activities.
Accurate understanding of land use and cover is imperative for the development planning
of any area. Consequently, a wide range of professionals, including earth system scientists, land
and water managers, and urban planners, are interested in obtaining data on land use and cover
changes, conversion trends, and other related patterns. The spatial dimensions of land use and
cover support policymakers and scientists in making well-informed decisions, as alterations in
these patterns indicate shifts in economic and social conditions. Monitoring such changes with the
help of Advanced technologies like Remote Sensing and Geographic Information Systems is
crucial for coordinated efforts across different administrative levels. Advanced technologies like
Remote Sensing and Geographic Information Systems
9
Changes in vegetation cover refer to variations in the distribution, composition, and overall
structure of plant communities across different temporal and spatial scales. These changes can
occur natural.
How to Setup Warehouse & Location in Odoo 17 InventoryCeline George
In this slide, we'll explore how to set up warehouses and locations in Odoo 17 Inventory. This will help us manage our stock effectively, track inventory levels, and streamline warehouse operations.
A workshop hosted by the South African Journal of Science aimed at postgraduate students and early career researchers with little or no experience in writing and publishing journal articles.
How to Make a Field Mandatory in Odoo 17Celine George
In Odoo, making a field required can be done through both Python code and XML views. When you set the required attribute to True in Python code, it makes the field required across all views where it's used. Conversely, when you set the required attribute in XML views, it makes the field required only in the context of that particular view.
Walmart Business+ and Spark Good for Nonprofits.pdfTechSoup
"Learn about all the ways Walmart supports nonprofit organizations.
You will hear from Liz Willett, the Head of Nonprofits, and hear about what Walmart is doing to help nonprofits, including Walmart Business and Spark Good. Walmart Business+ is a new offer for nonprofits that offers discounts and also streamlines nonprofits order and expense tracking, saving time and money.
The webinar may also give some examples on how nonprofits can best leverage Walmart Business+.
The event will cover the following::
Walmart Business + (https://business.walmart.com/plus) is a new shopping experience for nonprofits, schools, and local business customers that connects an exclusive online shopping experience to stores. Benefits include free delivery and shipping, a 'Spend Analytics” feature, special discounts, deals and tax-exempt shopping.
Special TechSoup offer for a free 180 days membership, and up to $150 in discounts on eligible orders.
Spark Good (walmart.com/sparkgood) is a charitable platform that enables nonprofits to receive donations directly from customers and associates.
Answers about how you can do more with Walmart!"
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...PECB
Denis is a dynamic and results-driven Chief Information Officer (CIO) with a distinguished career spanning information systems analysis and technical project management. With a proven track record of spearheading the design and delivery of cutting-edge Information Management solutions, he has consistently elevated business operations, streamlined reporting functions, and maximized process efficiency.
Certified as an ISO/IEC 27001: Information Security Management Systems (ISMS) Lead Implementer, Data Protection Officer, and Cyber Risks Analyst, Denis brings a heightened focus on data security, privacy, and cyber resilience to every endeavor.
His expertise extends across a diverse spectrum of reporting, database, and web development applications, underpinned by an exceptional grasp of data storage and virtualization technologies. His proficiency in application testing, database administration, and data cleansing ensures seamless execution of complex projects.
What sets Denis apart is his comprehensive understanding of Business and Systems Analysis technologies, honed through involvement in all phases of the Software Development Lifecycle (SDLC). From meticulous requirements gathering to precise analysis, innovative design, rigorous development, thorough testing, and successful implementation, he has consistently delivered exceptional results.
Throughout his career, he has taken on multifaceted roles, from leading technical project management teams to owning solutions that drive operational excellence. His conscientious and proactive approach is unwavering, whether he is working independently or collaboratively within a team. His ability to connect with colleagues on a personal level underscores his commitment to fostering a harmonious and productive workplace environment.
Date: May 29, 2024
Tags: Information Security, ISO/IEC 27001, ISO/IEC 42001, Artificial Intelligence, GDPR
-------------------------------------------------------------------------------
Find out more about ISO training and certification services
Training: ISO/IEC 27001 Information Security Management System - EN | PECB
ISO/IEC 42001 Artificial Intelligence Management System - EN | PECB
General Data Protection Regulation (GDPR) - Training Courses - EN | PECB
Webinars: https://pecb.com/webinars
Article: https://pecb.com/article
-------------------------------------------------------------------------------
For more information about PECB:
Website: https://pecb.com/
LinkedIn: https://www.linkedin.com/company/pecb/
Facebook: https://www.facebook.com/PECBInternational/
Slideshare: http://www.slideshare.net/PECBCERTIFICATION
it describes the bony anatomy including the femoral head , acetabulum, labrum . also discusses the capsule , ligaments . muscle that act on the hip joint and the range of motion are outlined. factors affecting hip joint stability and weight transmission through the joint are summarized.
How to Add Chatter in the odoo 17 ERP ModuleCeline George
In Odoo, the chatter is like a chat tool that helps you work together on records. You can leave notes and track things, making it easier to talk with your team and partners. Inside chatter, all communication history, activity, and changes will be displayed.
This presentation includes basic of PCOS their pathology and treatment and also Ayurveda correlation of PCOS and Ayurvedic line of treatment mentioned in classics.
1. Tutorials Point, Simply Easy Learning
HTML 5 Tutorial
Tutorialspoint.com
HTML5 is the latest and most enhanced version of HTML. Technically, HTML is not a
programming language, but rather a markup language. This tutorial gives very good
understanding on HTML5.
HTML5 Overview
HTML5 is the next major revision of the HTML standard superseding HTML 4.01, XHTML 1.0, and
XHTML 1.1. HTML5 is a standard for structuring and presenting content on the World Wide Web.
HTML5 is a cooperation between the World Wide Web Consortium (W3C) and the Web Hypertext
Application Technology Working Group (WHATWG).
The new standard incorporates features like video playback and drag-and-drop that have been
previously dependent on third-party browser plug-ins such as Adobe Flash, Microsoft Silverlight,
and Google Gears.
Browser Support:
The latest versions of Apple Safari, Google Chrome, Mozilla Firefox, and Opera all support many
HTML5 features and Internet Explorer 9.0 will also have support for some HTML5 functionality.
The mobile web browsers that come pre-installed on iPhones, iPads, and Android phones all
1|Page
2. Tutorials Point, Simply Easy Learning
have excellent support for HTML5.
New Features:
HTML5 introduces a number of new elements and attributes that helps in building a modern
websites. Following are great features introduced in HTML5.
New Semantic Elements: These are like <header>, <footer>, and <section>.
Forms 2.0: Improvements to HTML web forms where new attributes have been
introduced for <input> tag.
Persistent Local Storage: To achieve without resorting to third-party plugins.
WebSocket : A a next-generation bidirectional communication technology for web
applications.
Server-Sent Events: HTML5 introduces events which flow from web server to the web
browsers and they are called Server-Sent Events (SSE).
Canvas: This supports a two-dimensional drawing surface that you can program with
JavaScript.
Audio & Video: You can embed audio or video on your web pages without resorting to
third-party plugins.
Geolocation: Now visitors can choose to share their physical location with your web
application.
Microdata: This lets you create your own vocabularies beyond HTML5 and extend your
web pages with custom semantics.
Drag and drop: Drag and drop the items from one location to another location on a
the same webpage.
Backward Compatibility
HTML5 is designed, as much as possible, to be backward compatible with existing web browsers.
New features build on existing features and allow you to provide fallback content for older
browsers.
It is suggested to detect support for individual HTML5 features using a few lines of JavaScript.
If you are not familiar with any previous version of HTML, I would recommend to go through our
HTML Tutorial before you explore further concepts of HTM5.
HTML5 Syntax
The HTML 5 language has a "custom" HTML syntax that is compatible with HTML 4 and XHTML1
documents published on the Web, but is not compatible with the more esoteric SGML features of
HTML 4.
HTML 5 does not have the same syntax rules as XHTML where we needed lower case tag
names, quoting our attributes,an attribute had to have a value and to close all empty elements.
But HTML5 is coming with lots of flexibility and would support the followings:
Uppercase tag names.
Quotes are optional for attributes.
Attribute values are optional.
Closing empty elements are optional.
The DOCTYPE:
DOCTYPEs in older versions of HTML were longer because the HTML language was SGML based
2|Page
3. Tutorials Point, Simply Easy Learning
and therefore required a reference to a DTD.
HTML 5 authors would use simple syntax to specify DOCTYPE as follows:
<!DOCTYPE html>
All the above syntax is case-insensitive.
Character Encoding:
HTML 5 authors can use simple syntax to specify Character Encoding as follows:
<meta charset="UTF-8">
All the above syntax is case-insensitive.
The <script> tag:
It's common practice to add a type attribute with a value of "text/javascript" to script elements
as follows:
<script type="text/javascript" src="scriptfile.js"></script>
HTML 5 removes extra information required and you can use simply following syntax:
<script src="scriptfile.js"></script>
The <link> tag:
So far you were writing <link> as follows:
<link rel="stylesheet" type="text/css" href="stylefile.css">
HTML 5 removes extra information required and you can use simply following syntax:
<link rel="stylesheet" href="stylefile.css">
HTML5 Elements:
HTML5 elements are marked up using start tags and end tags. Tags are delimited using angle
brackets with the tag name in between.
The difference between start tags and end tags is that the latter includes a slash before the tag
name.
Following is the example of an HTML5 element:
<p>...</p>
3|Page
4. Tutorials Point, Simply Easy Learning
HTML5 tag names are case insensitive and may be written in all uppercase or mixed case,
although the most common convention is to stick with lowercase.
Most of the elements contain some content like <p>...</p> contains a paragraph. Some
elements, however, are forbidden from containing any content at all and these are known as
void elements. For example, br, hr, link and meta etc.
HTML5 Attributes:
Elements may contain attributes that are used to set various properties of an element.
Some attributes are defined globally and can be used on any element, while others are defined
for specific elements only. All attributes have a name and a value and look like as shown below
in the example.
Following is the example of an HTML5 attributes which illustrates how to mark up a div element
with an attribute named class using a value of "example":
<div class="example">...</div>
Attributes may only be specified within start tags and must never be used in end tags.
HTML5 attributes are case insensitive and may be written in all uppercase or mixed case,
although the most common convention is to stick with lowercase.
HTML5 Document:
The following tags have been introduced for better structure:
section: This tag represents a generic document or application section. It can be used
together with h1-h6 to indicate the document structure.
article: This tag represents an independent piece of content of a document, such as a
blog entry or newspaper article.
aside: This tag represents a piece of content that is only slightly related to the rest of
the page.
header: This tag represents the header of a section.
footer: This tag represents a footer for a section and can contain information about the
author, copyright information, et cetera.
nav: This tag represents a section of the document intended for navigation.
dialog: This tag can be used to mark up a conversation.
figure: This tag can be used to associate a caption together with some embedded
content, such as a graphic or video.
The markup for an HTM 5 document would look like the following:
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>...</title>
</head>
<body>
<header>...</header>
<nav>...</nav>
4|Page
5. Tutorials Point, Simply Easy Learning
<article>
<section>
...
</section>
</article>
<aside>...</aside>
<footer>...</footer>
</body>
HTML5 Attributes
As explained in previous chapter, elements may contain attributes that are used to set various
properties of an element.
Some attributes are defined globally and can be used on any element, while others are defined
for specific elements only. All attributes have a name and a value and look like as shown below
in the example.
Following is the example of an HTML5 attributes which illustrates how to mark up a div element
with an attribute named class using a value of "example":
<div class="example">...</div>
Attributes may only be specified within start tags and must never be used in end tags.
HTML5 attributes are case insensitive and may be written in all uppercase or mixed case,
although the most common convention is to stick with lowercase.
Standard Attributes:
The attributes listed below are supported by almost all the HTML 5 tags.
Attribute Options Function
accesskey User Defined Specifies a keyboard shortcut to access an element.
align right, left, center Horizontally aligns tags
background URL Places an background image behind an element
bgcolor numeric, hexidecimal, Places a background color behind an element
RGB values
class User Defined Classifies an element for use with Cascading Style
Sheets.
contenteditable true, false Specifies if the user can edit the element's content or
not.
5|Page
6. Tutorials Point, Simply Easy Learning
contextmenu Menu id Specifies the context menu for an element.
data-XXXX User Defined Custom attributes. Authors of a HTML document can
define their own attributes. Must start with "data-".
draggable true,false, auto Specifies whether or not a user is allowed to drag an
element.
height Numeric Value Specifies the height of tables, images, or table cells.
hidden hidden Specifies whether element should be visible or not.
id User Defined Names an element for use with Cascading Style
Sheets.
item List of elements Used to group elements.
itemprop List of items Used to group items.
spellcheck true, false Specifies if the element must have it's spelling or
grammar checked.
style CSS Style sheet Specifies an inline style for an element.
subject User define id Specifies the element's corresponding item.
tabindex Tab number Specifies the tab order of an element.
title User Defined "Pop-up" title for your elements.
valign top, middle, bottom Vertically aligns tags within an HTML element.
width Numeric Value Specifies the width of tables, images, or table cells.
For a complete list of HTML5 Tags and related attributes please check reference to HTML5 Tags.
Custom Attributes:
A new feature being introduced in HTML 5 is the addition of custom data attributes.
A custom data attribute starts with data- and would be named based on your requirement.
Following is the simple example:
<div class="example" data-subject="physics" data-level="complex">
...
</div>
6|Page
7. Tutorials Point, Simply Easy Learning
The above will be perfectly valid HTML5 with two custom attributes called data-subject and
data-level. You would be able to get the values of these attributes using JavaScript APIs or CSS
in similar way as you get for standard attributes.
HTML5 Events
When a user visit your website, they do things like click on text and images and given links,
hover over things etc. These are examples of what JavaScript calls events.
We can write our event handlers in Javascript or vbscript and you can specify these event
handlers as a value of event tag attribute. The HTML5 specification defines various event
attributes as listed below:
There are following attributes which can be used to trigger any javascript or vbscript code
given as value, when there is any event occurs for any HTM5 element.
We would cover element specific events while discussing those elements in detail in subsequent
chapters.
Attribute Value Description
offline script Triggers when the document goes offline
onabort script Triggers on an abort event
onafterprint script Triggers after the document is printed
onbeforeonload script Triggers before the document loads
onbeforeprint script Triggers before the document is printed
onblur script Triggers when the window loses focus
oncanplay script Triggers when media can start play, but might has to
stop for buffering
oncanplaythrough script Triggers when media can be played to the end, without
stopping for buffering
onchange script Triggers when an element changes
onclick script Triggers on a mouse click
oncontextmenu script Triggers when a context menu is triggered
ondblclick script Triggers on a mouse double-click
ondrag script Triggers when an element is dragged
ondragend script Triggers at the end of a drag operation
ondragenter script Triggers when an element has been dragged to a valid
drop target
ondragleave script Triggers when an element leaves a valid drop target
ondragover script Triggers when an element is being dragged over a valid
drop target
ondragstart script Triggers at the start of a drag operation
ondrop script Triggers when dragged element is being dropped
ondurationchange script Triggers when the length of the media is changed
7|Page
8. Tutorials Point, Simply Easy Learning
onemptied script Triggers when a media resource element suddenly
becomes empty.
onended script Triggers when media has reach the end
onerror script Triggers when an error occur
onfocus script Triggers when the window gets focus
onformchange script Triggers when a form changes
onforminput script Triggers when a form gets user input
onhaschange script Triggers when the document has change
oninput script Triggers when an element gets user input
oninvalid script Triggers when an element is invalid
onkeydown script Triggers when a key is pressed
onkeypress script Triggers when a key is pressed and released
onkeyup script Triggers when a key is released
onload script Triggers when the document loads
onloadeddata script Triggers when media data is loaded
onloadedmetadata script Triggers when the duration and other media data of a
media element is loaded
onloadstart script Triggers when the browser starts to load the media data
onmessage script Triggers when the message is triggered
onmousedown script Triggers when a mouse button is pressed
onmousemove script Triggers when the mouse pointer moves
onmouseout script Triggers when the mouse pointer moves out of an
element
onmouseover script Triggers when the mouse pointer moves over an element
onmouseup script Triggers when a mouse button is released
onmousewheel script Triggers when the mouse wheel is being rotated
onoffline script Triggers when the document goes offline
onoine script Triggers when the document comes online
ononline script Triggers when the document comes online
onpagehide script Triggers when the window is hidden
onpageshow script Triggers when the window becomes visible
onpause script Triggers when media data is paused
onplay script Triggers when media data is going to start playing
onplaying script Triggers when media data has start playing
onpopstate script Triggers when the window's history changes
onprogress script Triggers when the browser is fetching the media data
onratechange script Triggers when the media data's playing rate has changed
8|Page
9. Tutorials Point, Simply Easy Learning
onreadystatechange script Triggers when the ready-state changes
onredo script Triggers when the document performs a redo
onresize script Triggers when the window is resized
onscroll script Triggers when an element's scrollbar is being scrolled
onseeked script Triggers when a media element's seeking attribute is no
longer true, and the seeking has ended
onseeking script Triggers when a media element's seeking attribute is
true, and the seeking has begun
onselect script Triggers when an element is selected
onstalled script Triggers when there is an error in fetching media data
onstorage script Triggers when a document loads
onsubmit script Triggers when a form is submitted
onsuspend script Triggers when the browser has been fetching media
data, but stopped before the entire media file was
fetched
ontimeupdate script Triggers when media changes its playing position
onundo script Triggers when a document performs an undo
onunload script Triggers when the user leaves the document
onvolumechange script Triggers when media changes the volume, also when
volume is set to "mute"
onwaiting script Triggers when media has stopped playing, but is
expected to resume
HTML5 Web Forms 2.0
Web Forms 2.0 is an extension to the forms features found in HTML4. Form elements and
attributes in HTML5 provide a greater degree of semantic mark-up than HTML4 and remove a
great deal of the need for tedious scripting and styling that was required in HTML4.
The <input> element in HTML4
HTML4 input elements use the type attribute to specify the data type.HTML4 provides following
types:
Type Description
text A free-form text field, nominally free of line breaks.
password A free-form text field for sensitive information, nominally free of line
breaks.
checkbox A set of zero or more values from a predefined list.
9|Page
10. Tutorials Point, Simply Easy Learning
radio An enumerated value.
submit A free form of button initiates form submission.
file An arbitrary file with a MIME type and optionally a file name.
image A coordinate, relative to a particular image's size, with the extra
semantic that it must be the last value selected and initiates form
submission.
hidden An arbitrary string that is not normally displayed to the user.
select An enumerated value, much like the radio type.
textarea A free-form text field, nominally with no line break restrictions.
button A free form of button which can initiates any event related to button.
Following is the simple example of using labels, radio buttons, and submit buttons:
...
<form action="http://example.com/cgiscript.pl" method="post">
<p>
<label for="firstname">first name: </label>
<input type="text" id="firstname"><br />
<label for="lastname">last name: </label>
<input type="text" id="lastname"><br />
<label for="email">email: </label>
<input type="text" id="email"><br>
<input type="radio" name="sex" value="male"> Male<br>
<input type="radio" name="sex" value="female"> Female<br>
<input type="submit" value="send"> <input type="reset">
</p>
</form>
...
The <input> element in HTML5
Apart from the above mentioned attributes, HTML5 input elements introduced sevral new values
for the type attribute. These are listed below.
NOTE: Try all the following example using latest version of Opera browser.
Type Description
datetime A date and time (year, month, day, hour, minute, second, fractions of a
second) encoded according to ISO 8601 with the time zone set to UTC.
10 | P a g e
11. Tutorials Point, Simply Easy Learning
datetime-local A date and time (year, month, day, hour, minute, second, fractions of a
second) encoded according to ISO 8601, with no time zone information.
date A date (year, month, day) encoded according to ISO 8601.
month A date consisting of a year and a month encoded according to ISO
8601.
week A date consisting of a year and a week number encoded according to
ISO 8601.
time A time (hour, minute, seconds, fractional seconds) encoded according
to ISO 8601.
number This accepts only numerical value. The step attribute specifies the
precision, defaulting to 1.
range The range type is used for input fields that should contain a value from
a range of numbers.
email This accepts only email value. This type is used for input fields that
should contain an e-mail address. If you try to submit a simple text, it
forces to enter only email address in email@example.com format.
url This accepts only URL value. This type is used for input fields that
should contain a URL address. If you try to submit a simple text, it
forces to enter only URL address either in http://www.example.com
format or in http://example.com format.
The <output> element
HTML5 introduced a new element <output> which is used to represent the result of different
types of output, such as output written by a script.
You can use the for attribute to specify a relationship between the output element and other
elements in the document that affected the calculation (for example, as inputs or parameters).
The value of the for attribute is a space-separated list of IDs of other elements.
The placeholder attribute
HTML5 introduced a new attribute called placeholder. This attribute on <input> and
<textarea> elements provides a hint to the user of what can be entered in the field. The
placeholder text must not contain carriage returns or line-feeds.
Here is the simple syntax for placeholder attribute:
<input type="text" name="search" placeholder="search the web"/>
This attribute is supported by latest versions of Mozilla, Safari and Crome browsers only.
11 | P a g e
12. Tutorials Point, Simply Easy Learning
The autofocus attribute
This is a simple one-step pattern, easily programmed in JavaScript at the time of document
load, automatically focus one particular form field.
HTML5 introduced a new attribute called autofocus which would be used as follows:
<input type="text" name="search" autofocus/>
This attribute is supported by latest versions of Mozilla, Safari and Crome browsers only.
The required attribute
Now you do not need to have javascript for client side validations like empty text box would
never be submitted because HTML5 introduced a new attribute called required which would be
used as follows and would insist to have a value:
<input type="text" name="search" required/>
This attribute is supported by latest versions of Mozilla, Safari and Crome browsers only.
HTML5 – SVG
SVG stands for Scalable Vector Graphics and it is a language for describing 2D-graphics and
graphical applications in XML and the XML is then rendered by an SVG viewer.
SVG is mostly useful for vector type diagrams like Pie charts, Two-dimensional graphs in an X,Y
coordinate system etc.
SVG became a W3C Recommendation 14. January 2003 and you can check latest version of
SVG specification at SVG Specification.
Viewing SVG Files:
Most of the web browsers can display SVG just like they can display PNG, GIF, and JPG. Internet
Explorer users may have to install the Adobe SVG Viewer to be able to view SVG in the browser.
Embeding SVG in HTML5
HTML5 allows embeding SVG directly using <svg>...</svg> tag which has following simple
syntax:
<svg xmlns="http://www.w3.org/2000/svg">
...
</svg>
Firefox 3.7 has also introduced a configuration option ("about:config") where you can enable
HTML5 using the following steps:
1. Type about:config in your Firefox address bar.
2. Click the "I'll be careful, I promise!" button on the warning message that appears (and
make sure you adhere to it!).
3. Type html5.enable into the filter bar at the top of the page.
12 | P a g e
13. Tutorials Point, Simply Easy Learning
4. Currently it would be disabled, so click it to toggle the value to true.
Now your Firefox HTML5 parser should now be enabled and you should be able to experiment
with the following examples.
HTML5 - SVG Circle
Following is the HTML5 version of an SVG example which would draw a cricle using <circle>
tag:
<!DOCTYPE html>
<head>
<title>SVG</title>
<meta charset="utf-8" />
</head>
<body>
<h2>HTML5 SVG Circle</h2>
<svg id="svgelem" height="200" xmlns="http://www.w3.org/2000/svg">
<circle id="redcircle" cx="50" cy="50" r="50" fill="red" />
</svg>
</body>
</html>
This would produce following result in HTML5 enabled latest version of Firefox.
HTML5 - SVG Rectangle
Following is the HTML5 version of an SVG example which would draw a rectangle using <rect>
tag:
<!DOCTYPE html>
<head>
<title>SVG</title>
<meta charset="utf-8" />
</head>
<body>
<h2>HTML5 SVG Rectangle</h2>
<svg id="svgelem" height="200" xmlns="http://www.w3.org/2000/svg">
<rect id="redrect" width="300" height="100" fill="red" />
</svg>
</body>
</html>
13 | P a g e
14. Tutorials Point, Simply Easy Learning
This would produce following result in HTML5 enabled latest version of Firefox.
HTML5 - SVG Line
Following is the HTML5 version of an SVG example which would draw a line using <line> tag:
<!DOCTYPE html>
<head>
<title>SVG</title>
<meta charset="utf-8" />
</head>
<body>
<h2>HTML5 SVG Line</h2>
<svg id="svgelem" height="200" xmlns="http://www.w3.org/2000/svg">
<line x1="0" y1="0" x2="200" y2="100"
style="stroke:red;stroke-width:2"/>
</svg>
</body>
</html>
You can use style attribute which allows you to set additional style information like stroke and
fill colors, width of the stroke etc.
This would produce following result in HTML5 enabled latest version of Firefox.
HTML5 - SVG Ellipse
Following is the HTML5 version of an SVG example which would draw an ellipse using <ellipse>
tag:
<!DOCTYPE html>
<head>
<title>SVG</title>
14 | P a g e
15. Tutorials Point, Simply Easy Learning
<meta charset="utf-8" />
</head>
<body>
<h2>HTML5 SVG Ellipse</h2>
<svg id="svgelem" height="200" xmlns="http://www.w3.org/2000/svg">
<ellipse cx="100" cy="50" rx="100" ry="50" fill="red" />
</svg>
</body>
</html>
This would produce following result in HTML5 enabled latest version of Firefox.
HTML5 - SVG Polygon
Following is the HTML5 version of an SVG example which would draw a polygon using
<polygon> tag:
<!DOCTYPE html>
<head>
<title>SVG</title>
<meta charset="utf-8" />
</head>
<body>
<h2>HTML5 SVG Polygon</h2>
<svg id="svgelem" height="200" xmlns="http://www.w3.org/2000/svg">
<polygon points="20,10 300,20, 170,50" fill="red" />
</svg>
</body>
</html>
This would produce following result in HTML5 enabled latest version of Firefox.
HTML5 - SVG Polyline
Following is the HTML5 version of an SVG example which would draw a polyline using
<polyline> tag:
15 | P a g e
16. Tutorials Point, Simply Easy Learning
<!DOCTYPE html>
<head>
<title>SVG</title>
<meta charset="utf-8" />
</head>
<body>
<h2>HTML5 SVG Polyline</h2>
<svg id="svgelem" height="200" xmlns="http://www.w3.org/2000/svg">
<polyline points="0,0 0,20 20,20 20,40 40,40 40,60" fill="red" />
</svg>
</body>
</html>
This would produce following result in HTML5 enabled latest version of Firefox.
HTML5 - SVG Gradients
Following is the HTML5 version of an SVG example which would draw a ellipse using <ellipse>
tag and would use <radialGradient> tag to define an SVG radial gradient.
Similar way you can use <linearGradient> tag to create SVG linear gradient.
<!DOCTYPE html>
<head>
<title>SVG</title>
<meta charset="utf-8" />
</head>
<body>
<h2>HTML5 SVG Gradient Ellipse</h2>
<svg id="svgelem" height="200" xmlns="http://www.w3.org/2000/svg">
<defs>
<radialGradient id="gradient" cx="50%" cy="50%" r="50%"
fx="50%" fy="50%">
<stop offset="0%" style="stop-color:rgb(200,200,200);
stop-opacity:0"/>
<stop offset="100%" style="stop-color:rgb(0,0,255);
stop-opacity:1"/>
</radialGradient>
</defs>
<ellipse cx="100" cy="50" rx="100" ry="50"
style="fill:url(#gradient)" />
</svg>
</body>
</html>
This would produce following result in HTML5 enabled latest version of Firefox.
16 | P a g e
17. Tutorials Point, Simply Easy Learning
HTML5 – WebSockets
Web Sockets is a next-generation bidirectional communication technology for web applications
which operates over a single socket and is exposed via a JavaScript interface in HTML 5
compliant browsers.
Once you get a Web Socket connection with the web server, you can send data from browser to
server by calling a send() method, and receive data from server to browser by an onmessage
event handler.
Following is the API which creates a new WebSocket object.
var Socket = new WebSocket(url, [protocal] );
Here first argument, url, specifies the URL to which to connect. The second attribute, protocol is
optional, and if present, specifies a sub-protocol that the server must support for the connection
to be successful.
WebSocket Attributes:
Following are the attribute of WebSocket object. Assuming we created Socket object as
mentioned above:
Attribute Description
Socket.readyState The readonly attribute readyState represents the state of the
connection. It can have the following values:
1. A value of 0 indicates that the connection has not yet
been established.
2. A value of 1 indicates that the connection is established
and communication is possible.
3. A value of 2 indicates that the connection is going through
the closing handshake.
4. A value of 3 indicates that the connection has been closed
or could not be opened.
Socket.bufferedAmount The readonly attribute bufferedAmount represents the number
of bytes of UTF-8 text that have been queued using send()
method.
WebSocket Events:
17 | P a g e
18. Tutorials Point, Simply Easy Learning
Following are the events associated with WebSocket object. Assuming we created Socket object
as mentioned above:
Event Event Handler Description
open Socket.onopen This event occurs when socket connection is established.
message Socket.onmessage This event occurs when client receives data from server.
error Socket.onerror This event occurs when there is any error in communication.
close Socket.onclose This event occurs when connection is closed.
WebSocket Methods:
Following are the methods associated with WebSocket object. Assuming we created Socket
object as mentioned above:
Method Description
Socket.send() The send(data) method transmits data using the connection.
Socket.close() The close() method would be used to terminate any existing
connection.
WebSocket Example:
A WebSocket is a standard bidirectional TCP socket between the client and the server. The
socket starts out as a HTTP connection and then "Upgrades" to a TCP socket after a HTTP
handshake. After the handshake, either side can send data.
Client Side HTML & JavaScript Code:
At the time of writing this tutorial, there are only few web browsers supporting WebSocket()
interface. You can try following example with latest version of Chrome, Mozilla, Opera and
Safari.
<!DOCTYPE HTML>
<html>
<head>
<script type="text/javascript">
function WebSocketTest()
{
if ("WebSocket" in window)
{
alert("WebSocket is supported by your Browser!");
// Let us open a web socket
var ws = new WebSocket("ws://localhost:9998/echo");
ws.onopen = function()
{
18 | P a g e
19. Tutorials Point, Simply Easy Learning
// Web Socket is connected, send data using send()
ws.send("Message to send");
alert("Message is sent...");
};
ws.onmessage = function (evt)
{
var received_msg = evt.data;
alert("Message is received...");
};
ws.onclose = function()
{
// websocket is closed.
alert("Connection is closed...");
};
}
else
{
// The browser doesn't support WebSocket
alert("WebSocket NOT supported by your Browser!");
}
}
</script>
</head>
<body>
<div id="sse">
<a href="javascript:WebSocketTest()">Run WebSocket</a>
</div>
</body>
</html>
Install pywebsocket:
Before you test above client program, you need a server which supports WebSocket. Download
mod_pywebsocket-x.x.x.tar.gz from pywebsocket which aims to provide a Web Socket
extension for Apache HTTP Server ans install it following these steps.
1. Unzip and untar the downloaded file.
2. Go inside pywebsocket-x.x.x/src/ directory.
3. $python setup.py build
4. $sudo python setup.py install
5. Then read document by:
o $pydoc mod_pywebsocket
This will install it into your python environment.
Start the Server
Go to the pywebsocket-x.x.x/src/mod_pywebsocket folder and run the following
command:
$sudo python standalone.py -p 9998 -w ../example/
This will start the server listening at port 9998 and use the handlers directory specified by the -
w option where our echo_wsh.py resides.
Now using Chrome browser open the html file your created in the beginning. If your browser
supports WebSocket(), then you would get alert indicating that your browser supports
19 | P a g e
20. Tutorials Point, Simply Easy Learning
WebSocket and finally when you click on "Run WebSocket" you would get Goodbye message
sent by the server script.
HTML5 – Canvas
HTML5 element <canvas> gives you an easy and powerful way to draw graphics using
JavaScript. It can be used to draw graphs, make photo compositions or do simple (and not so
simple) animations.
Here is a simple <canvas> element which has only two specific attributes width and height
plus all the core HTML5 attributes like id, name and class etc.
<canvas id="mycanvas" width="100" height="100"></canvas>
You can easily find that <canvas> element in the DOM using getElementById() method as
follows:
var canvas = document.getElementById("mycanvas");
Let us see a simple example on using <canvas> element in HTML5 document.
<!DOCTYPE HTML>
<html>
<head>
<style>
#mycanvas{
border:1px solid red;
}
</style>
</head>
<body>
<canvas id="mycanvas" width="100" height="100"></canvas>
</body>
</html>
The Rendering Context:
The <canvas> is initially blank, and to display something, a script first needs to access the
rendering context and draw on it.
The canvas element has a DOM method called getContext, used to obtain the rendering
context and its drawing functions. This function takes one parameter, the type of context 2d.
Following is the code to get required context along with a check if your browser supports
<canvas> element:
var canvas = document.getElementById("mycanvas");
if (canvas.getContext){
var ctx = canvas.getContext('2d');
// drawing code here
} else {
// canvas-unsupported code here
}
20 | P a g e
21. Tutorials Point, Simply Easy Learning
Browser Support
The latest versions of Firefox, Safari, Chrome and Opera all support for HTML5 Canvas but IE8
does not support canvas natively.
You can use ExplorerCanvas to have canvas support through Internet Explorer. You just need to
include this javascript as follows:
<!--[if IE]><script src="excanvas.js"></script><![endif]-->
HTML5 Canvas Examples:
This tutorial covers following examples related to HTML5 <canvas> element.
Examples Description
Drawing Rectangles Learn how to draw rectangle using HTML5 <canvas> element
Drawing Paths Learn how to make shapes using paths in HTML5 <canvas>
element
Drawing Lines Learn how to draw lines using HTML5 <canvas> element
Drawing Bezier Learn how to draw bezier curve using HTML5 <canvas> element
Drawing Quadratic Learn how to draw quadratic curve using HTML5 <canvas>
element
Using Images Learn how to use images with HTML5 <canvas> element
Create Gradients Learn how to create gradients using HTML5 <canvas> element
Styles and Colors Learn how to apply styles and colors using HTML5 <canvas>
element
Text and Fonts Learn how to draw amazing text using different fonts and their
size.
Pattern and Shadow Learn how to draw different patterns and drop shadows.
Canvas States Learn how to save and restore canvas states while doing complex
drawings on a canvas.
Canvas Translation This method is used to move the canvas and its origin to a
different point in the grid.
Canvas Rotation This method is used to rotate the canvas around the current
origin.
Canvas Scaling This method is used to increase or decrease the units in a canvas
grid.
Canvas Transform These methods allow modifications directly to the transformation
matrix.
21 | P a g e
22. Tutorials Point, Simply Easy Learning
Canvas Composition This method is used to mask off certain areas or clear sections
from the canvas.
Canvas Animation Learn how to create basic animation using HTML5 canvas and
Javascript.
For complete Tutorial: http://www.tutorialspoint.com/html5
List of Tutorials from TutorialsPoint.com
Learn JSP Learn ASP.Net
Learn Servlets Learn HTML
Learn log4j Learn HTML5
Learn iBATIS Learn XHTML
Learn Java Learn CSS
Learn JDBC Learn HTTP
Java Examples Learn JavaScript
Learn Best Practices Learn jQuery
Learn Python Learn Prototype
Learn Ruby Learn script.aculo.us
Learn Ruby on Rails Web Developer's Guide
Learn SQL Learn RADIUS
Learn MySQL Learn RSS
Learn AJAX Learn SEO Techniques
Learn C Programming Learn SOAP
Learn C++ Programming Learn UDDI
Learn CGI with PERL Learn Unix Sockets
Learn DLL Learn Web Services
Learn ebXML Learn XML-RPC
Learn Euphoria Learn UML
Learn GDB Debugger Learn UNIX
Learn Makefile Learn WSDL
Learn Parrot Learn i-Mode
Learn Perl Script Learn GPRS
Learn PHP Script Learn GSM
Learn Six Sigma Learn WAP
Learn SEI CMMI Learn WML
Learn WiMAX Learn Wi-Fi
Learn Telecom Billing
webmaster@TutorialsPoint.com
22 | P a g e