background preloader

All Standards and Drafts

All Standards and Drafts
Related:  html5 css

Media formats supported by the HTML audio and video elements - HTML (HyperText Markup Language) | MDN The <audio> and <video> elements provide support for playing audio and video media without requiring plug-ins. Video codecs and audio codecs are used to handle video and audio, and different codecs offer different levels of compression and quality. A container format is used to store and transmit the coded video and audio (both together, the case of a video with a soundtrack). Many combinations of codecs and container formats exist, although only a handful of these are relevant on the Web. Different browsers do not support the same media formats in their implementations of HTML5 video and audio, mainly because of patent issues. The area of media formats on the Web has greatly suffered from patent law in many countries including the USA and EU countries (the notes on patents in this article is provided as-is and without any warranty.) WebM The WebM format is based on a restricted version of the Matroska container format. Gecko recognizes the following MIME types as WebM files: video/webm

C Mission The W3C mission is to lead the World Wide Web to its full potential by developing protocols and guidelines that ensure the long-term growth of the Web. Below we discuss important aspects of this mission, all of which further W3C's vision of One Web. Open Standards Principles On 29 August 2012 five leading global organizations jointly signed an agreement to affirm and adhere to a set of Principles in support of The Modern Paradigm for Standards; an open and collectively empowering model that will help radically improve the way people around the world develop new technologies and innovate for humanity. Learn more about OpenStand: the modern paradigm for standards. Design Principles The following design principles guide W3C's work. Web for All The social value of the Web is that it enables human communication, commerce, and opportunities to share knowledge. Web on Everything The number of different kinds of devices that can access the Web has grown immensely. Vision Web for Rich Interaction

Controlling Media with JavaScript Because the <audio> and <video> elements are part of the HTML5 standard, there are JavaScript methods, properties, and DOM events associated with them. There are methods for loading, playing, pausing, and jumping to a time. There are also properties you can set programmatically, such as the src URL and the height and width of a video, as well as read-only properties such as the video’s native height. Finally, there are DOM events you can listen for, such as load progress, media playing, media paused, and media done playing. This chapter shows you how to do the following: For a complete description of all the methods, properties, and DOM events associated with HTML5 media, see Safari DOM Additions Reference. A Simple JavaScript Media Controller and Resizer Listing 4-1 creates a simple play/pause movie control in JavaScript, with additional controls to toggle the video size between normal and doubled. Listing 4-1 Adding simple JavaScript controls Using DOM Events to Monitor Load Progress

World Wide Web Consortium (W3C) WEBBEM - Home Finding your WAI to New Web Accessibility Resources Presentations you can copy, business case resources, what to do when you come across an inaccessible website, and much much more are available on the WAI website for managers, policy makers, presenters, developers, designers, and people with disabilities. Whether you already use WAI resources or you're new to web accessibility, we encourage you to look around and find more information that is useful to you. This page explains strategies for finding what you're looking for on the WAI website. (A separate page provides Help with the WAI Web Site, such as navigating with headings.) If you don't find what you're looking for or have any suggestions on what you do find, please let us know by sending e-mail to: wai-eo-editors@w3.org if you want your e-mail publicly archived. wai@w3.org if you want your e-mail to go only to WAI staff. New Resources We think you'll find some documents that you didn't even know existed on the WAI website. To find more new and developing resources, see: Tell Others!

HTML5 Microdata Format Generator | Barry Ko Following up on a previous entry on the Microdata Format, I’ve created a completely free, for non-commercial purposes, Microdata Generator for some of the more popular item types: Books, Movies, People, Organizations and Companies, Stores, Restaurants, and Local Businesses. While there are other Microdata Generators and Creators out there, I haven’t found one that correctly nests multiple item types, or integrates the correct Hours of Operation (date/time) item property, which is essential for local businesses and restaurants. Furthermore, I’ve taken the extra step of giving you the option to include line breaks (for those who prefer the raw text format), the option to wrap the labels in a <span> tag, and the option to insert a class into the label span for custom css styling!

Promote Your Content with Structured Data Markup   |   Structured Data   |   Google Developers Google Search works hard to understand the content of a page. You can help us by providing explicit clues about the meaning of a page to Google by including structured data on the page. Structured data is a standardized format for providing information about a page and classifying the page content; for example, on a recipe page, what are the ingredients, the cooking time and temperature, the calories, and so on. Google uses structured data that it finds on the web to understand the content of the page, as well as to gather information about the web and the world in general. For example, here is a JSON-LD structured data snippet that might appear on the contact page of the Unlimited Ball Bearings corporation, describing their contact information: Google Search also uses structured data to enable special search result features and enhancements. Structured data is coded using in-page markup on the page that the information applies to.

MusicRecording Thing > CreativeWork > MusicRecording A music recording (track), usually a single song. Usage: Between 10,000 and 50,000 domains Instances of MusicRecording may appear as values for the following properties Available properties in extensions From CreativeWork: publisherImprint, translationOfWork, workTranslation Examples <h1>Foo Fighters</h1><h2>Video: Interview with the Foo Fighters</h2><object ...> <param ...> <embed type="application/x-shockwave-flash" ... <div vocab=" typeof="MusicGroup"><h1 property="name">Foo Fighters</h1><div property="video" typeof="VideoObject"> <h2>Video: <span property="name">Interview with the Foo Fighters</span></h2> <meta property="duration" content="T1M33S" /> <meta property="thumbnail" content="foo-fighters-interview-thumb.jpg" /> <object ...> <param ...> <embed type="application/x-shockwave-flash" ...> </object> <span property="description">Catch this exclusive interview with Dave Grohl and the Foo Fighters about their new album, Rope.

Notes on accessible CSS image sprites The issue of CSS image sprites has been raised again on the Web Accessibility Initiative Interest Group mailing list. Here is the advice we provide on the issue: CSS image sprite issues A default HTML method to add a text alternative is not provided.When images are disabled the sprite is not displayed. CSS image sprite issue fixes Include alternative text inside the element that the CSS background image is attached to.If images are enabled and Windows high contrast mode is not enabled use Javascript to add a style sheet that visually hides the text alternative, but is still available to assistive technology.Use JavaScript to detect when images are disabled and remove the CSS visually hidden display state of the text alternative.Use JavaScript to detect when Windows high contrast mode is enabled and remove the CSS visually hidden display state of the text alternative. Accessible CSS image sprite example page – example files (zip) Example code (JavaScript): Example code (HTML):

Microdata - Dive Into HTML5 You are here: Home ‣ Dive Into HTML5 ‣ Diving In here are over 100 elements in HTML5. Some are purely semantic, others are just containers for scripted APIs. Throughout the history of HTML, standards wonks have argued about which elements should be included in the language. Of course, HTML can’t please everyone. Right, so if making up your own elements isn’t the answer, what’s a semantically inclined web author to do? Microformats and RDFa each have their strengths and weaknesses. What is Microdata? Each word in the following sentence is important, so pay attention. Professor Markup Says Microdata annotates the DOM with scoped name/value pairs from custom vocabularies. Now what does that mean? The next thing to know about microdata is that it works with name/value pairs. Along with named properties, microdata relies heavily on the concept of “scoping.” Now, I’ve already touched on the DOM, but let me elaborate on that. Does this sentence make more sense now? The Microdata Data Model ↶ Boring

Can I use... Support tables for HTML5, CSS3, etc About "Can I use" provides up-to-date browser support tables for support of front-end web technologies on desktop and mobile web browsers. The site was built and is maintained by Alexis Deveria, with occasional updates provided by the web development community. The design used as of 2014 was largely created by Lennart Schoors. May I use your data in my presentation/article/site, etc? Yes, the support data on this site is free to use under the CC BY 4.0 license. Is there a way to see the support data in colors other than red/green? Yes, you can enable accessible colors from this link or from the option under Settings. Do you have the data available in a raw format? Yes, the raw support data is available on GitHub and is updated regularly. Could you add feature X to the site? Adding features takes quite some time and there are many requests for additions. If you've done the research yourself already, you can also submit a feature on GitHub. Which features do you choose to add to this list?

HTML Standard 4.10 Forms Spec bugs: 12271 Support: Chrome (limited) 4+Chrome for Android (limited) 42+IE (limited) 10+Firefox (limited) 4+iOS Safari (limited) 4.0-4.1+UC Browser for Android 9.9+Android Browser (limited) 4.4+Opera Mini NoneSafari (limited) 4+Opera (limited) 15+IE Mobile (limited) 10+Firefox for Android (limited) 37+ Source: caniuse.com 4.10.1 Introduction This section is non-normative. A form is a component of a Web page that has form controls, such as text fields, buttons, checkboxes, range controls, or colour pickers. Writing a form consists of several steps, which can be performed in any order: writing the user interface, implementing the server-side processing, and configuring the user interface to communicate with the server. 4.10.1.1 Writing a form's user interface For the purposes of this brief introduction, we will create a pizza ordering form. Any form starts with a form element, inside which are placed the controls. <form><p><label>Customer name: <input></label></p></form> custname .

Related: