Application Development: HTML5 and CSS3: Elements That Are Safe to Use
CSS: Background-Image OptionsThe
background-image property sets the background image for an element. The background of an element is the total size of the element, including padding and border (but not the margin). By default, a background-image is placed at the top-left corner of an element, and repeated both vertically and horizontally.
With HTML5 and CSS all the rage with developers, particularly Web developers, a new site has emerged to advise them on the use of features in the programming languages. The HTML5 Please site offers expert advice on which features to use and not to use when developing apps. The site breaks its advice down into three categories: use, use with caution, and avoid. Additionally, it tells developers which features they should use with fallbacks or polyfills. The bottom line is that the new site gives developers recommendations on which HTML5 and CSS3 elements they can safely use to create apps and sites that are effectively supported across a range of browsers. Because HTML5 is a moving target and many of its elements are too new to safely use for cross-browser support, HTML Please is a welcome aid to developers who want to color inside the lines. The HTML5 Please site is a community project created by Divya Manian, Web opener for Opera Software; Paul Irish, developer programs engineer on the Google Chrome team; Tim Branyen, a software engineer at Bocoup; Connor Montgomery, a Web developer and computer science student at St. Louis University; and a host of others. This slide show takes a look at the HTML5 and CSS3 elements that HTML5 Please says are completely safe for developers to use.