Skip to main content

Home/ HTML5 development/ Group items tagged html5

Rss Feed Group items tagged

Alexis Sgavel

Canvas From Scratch: Advanced Drawing | Nettuts+ - 0 views

  •  
    In the previous article in this series, you learned about the canvas element, and the basics for drawing on it. In this article, I'm going to demonstrate some of the more advanced drawing functionality.
Vernon Fowler

Bruce Lawson's personal site  : The best of s - 0 views

  • Update 10 August 2012: in response to a query, I checked again and pubdate is gone from both the WHATWG and W3C specs.
  • Previously, you could only mark up precise dates. So, 13 November 1905 could be expressed in HTML <time datetime="1905-11-13"> but November 1905 couldn’t be. This is a problem for historians where sometimes the precise date isn’t known.
  • Neither can you indicate date ranges. To mark up From “21/02/2012 to 25/02/2012″, use two separate <time> elements.
  • ...3 more annotations...
  • So <time datetime="P4D"> is a duration of 4 days
  • <time datetime="1905"> means the year 1905
  • <time datetime="1905-11"> means November 1905
Vernon Fowler

Why is Ogg better than MP3? - Quora - 0 views

  • a bit less data to produce the same quality, or will sound a bit better at the same bitrate
  • MP3 was also covered by a bunch of patents, so you had to license it for a fair bit of money; those patents have finally expired now. Ogg and Vorbis have always been free (and the reference implementation available under an LGPL and later BSD license).
Vernon Fowler

How do you figure? | scottohara.me - 0 views

  •  
    A figure can be used with or without a figcaption. However, without a caption, or an alternate means of providing an accessible name (e.g. aria-label) a figure may not provide much value in conveying its semantics alone. In some cases, it may not convey any semantics at all if its given no accessible name.
Vernon Fowler

What's New in HTML 5.2? - 0 views

  • Headings in a <legend> In forms, the <legend> element represents a caption for the form fields within a <fieldset>. Before HTML 5.2, the content of a legend had to be plain text. Now, we can include heading elements.
Vernon Fowler

:required | CSS-Tricks - 0 views

  • The :required attribute works on radio buttons. If you put required on one radio button (or all), that particular group of radio buttons will be required. On checkboxes, makes each individual checkbox required (to be checked).
Vernon Fowler

- HTML: Hypertext Markup Language | MDN - 0 views

  • A string value of any means that no stepping is implied, and any value is allowed (barring other constraints, such as min and max).
  • <input type="number"> elements do not support use of the pattern attribute for making entered values conform to a specific regex pattern.
  • inputs of type number support these attributes
  •  
    " elements of type number are used to let the user enter a number. They include built-in validation to reject non-numerical entries. The browser may opt to provide stepper arrows to let the user increase and decrease the value using their mouse or by simply tapping with a fingertip."
Vernon Fowler

Code Guide by @mdo - 0 views

  • Compared to <link>s, @import is slower, adds extra page requests, and can cause other unforeseen problems. Avoid them and instead opt for an alternate approach
  • Compile your CSS with a preprocessor like Sass or Less into a single file
  • Place media queries as close to their relevant rule sets whenever possible.
  • ...3 more annotations...
  • Limit shorthand declaration usage to instances where you must explicitly set all available values.
  • Avoid unnecessary nesting. Just because you can nest, doesn't mean you always should. Consider nesting only if you must scope styles to a parent and if there are multiple elements to be nested.
  • For a complete list of properties and their order, please see
Vernon Fowler

Accessible Table Builder | Accessibility Tools | Accessify - 0 views

  • Table summary:
    • Vernon Fowler
       
      Note: The summary attribute is deprecated in HTML5. https://www.w3.org/WAI/tutorials/tables/caption-summary/
« First ‹ Previous 101 - 119 of 119
Showing 20 items per page