background preloader

HTML/CSS

Facebook Twitter

ChangeProposals/notitle captions - HTML WG Wiki. Change proposal Accepted by Working Group decision Mon, 26 Mar 2012 The following Change Proposal is for the the HTML WG Issue 190 Editor: Steve Faulkner (faulkner.steve@gmail.com) Date: January 18th, 2012. Summary The spec currently includes examples using the title attribute to provide captions for images. Rationale Complete lack of support for recommended practice results in inaccessible content The HTML5 spec currently contains an exampleof use of the title attribute to provide captions for images: In this example, which could be part of a much larger work discussing a castle, the figure has three images in it. Source The example is implicit authoring advice, independent of the specification of the figure and figcaption elements in HTML5.

Example: for users who can use a mouse the following code: results in the user having access to the title attribute text "Film photograph. Figure: role=grouping, IA2 object attribute xml:role figure. accessible relationship to figcaption, type=labelledby. HTML5 EXAMPLES. HTML5. This specification defines the 5th major version, second minor revision of the core language of the World Wide Web: the Hypertext Markup Language (HTML). In this version, new features continue to be introduced to help Web application authors, new elements continue to be introduced based on research into prevailing authoring practices, and special attention continues to be given to defining clear conformance criteria for user agents in an effort to improve interoperability. This section describes the status of this document at the time of its publication.

Other documents may supersede this document. A list of current W3C publications and the latest revision of this technical report can be found in the W3C technical reports index at This document was published by the Web Platform Working Group as a W3C Recommendation for HTML 5.2 that would obsolete the HTML 5.1 Recommendation. This document was produced by a group operating under the W3C Patent Policy. HTML5. Latest Published Version: Latest Editor's Draft: Previous Versions: Editors: Robin Berjon, W3C Steve Faulkner, The Paciello Group Travis Leithead, Microsoft Erika Doyle Navara, Microsoft Edward O'Connor, Apple Inc. Silvia Pfeiffer Ian Hickson, Google, Inc. This specification is also available as a single page HTML document. Copyright © 2013 W3C® (MIT, ERCIM, Keio, Beihang), All Rights Reserved.

This specification defines the 5th major version, first minor revision of the core language of the World Wide Web: the Hypertext Markup Language (HTML). This section describes the status of this document at the time of its publication. If you wish to make comments regarding this document in a manner that is tracked by the W3C, please submit them via using our public bug database. Implementors should be aware that this specification is not stable. HTML 5 Cheat Sheet (PDF) - Smashing Magazine. HTML5 Watch. #Portal for mobile/desktop browsers Full WriteupKeyboard Controls: It’s AWSD or arrow keys for movement and mouse button and mouse movement for the portal gun. On mobile, it’s hold down your finger to run toward your finger and hold down above you to jump, tap to aim and fire the portal gun, and second finger (multi-touch) to move the portal gun without firing (like to maneuver a held box). #CSS Tilt We’re not quite at the stage where we can fly through the Internet in 3D à la Johnny Mnemonic, diving between skyscrapers of data and along streets of shimmering bytes.

Until then, we’ll have to make do with visualising our web pages in 3D which is still pretty futuristic, if you think about it. Full Writeup. Fotodownload: HTML5 (Infographic) HTML & CSS [Archiv] - TP Hilfe Forum. Ensuring HTML5 drag and drop events can be activated by keyboard. 5 Exciting Things to Look Forward to in HTML 5 - ReadWriteWeb. HTML 5 is the upcoming major revision of the HyperText Markup Language (HTML), the main method of marking up content for sharing on the World Wide Web. HTML's development stopped at HTML 4.01 in 1999, and since then web content has evolved so much that current HTML specifications are inadequate for today's requirements. HTML 5 aims to improve HTML's interoperability and address the growing demand for more diverse and complex web content. It also addresses HTML 4's lacking features for web applications. In this post, we'll look at 5 exciting new features in HTML 5. This is a guest post by Jacob Gube, a web developer/designer and author of Six Revisions, a blog on web development and design.

A bit of history The conceptual thinking for HTML 5 began in late 2003. Development is underway, and HTML 5 is anticipated to reach W3C Candidate Recommendation status in 2012, though many modern browsers already have partial support for HTML 5 specifications. Exciting new features 1. 2. 3. 4. 5. In Sum. How to get HTML5 working in IE and Firefox 2. HTML 5 may be the latest and greatest technology, but some browsers don’t have native support for the new semantic elements. Let’s momentarily forget about the really sexy functionality, like full control over the <video> element, and just focus on getting the elements rendered. The problematic A-grade browsers include IE 8 and below, Firefox 2, and Camino 1 (these last two browsers both use the Gecko rendering engine, which is why they’re both affected).

Let’s start with Internet Explorer. IE doesn’t believe in HTML 5 elements Quite simply, IE doesn’t even see HTML 5 elements, much less style them. This is actually the same issue that we had before HTML 5, where the <abbr> element couldn’t be styled in IE 6, resulting in all manner of workarounds. The fix There is hope! Document.createElement('header'); John Resig has also written about this HTML 5 shiv. For example, say you wanted to style the <time> element in italics: This screenshot shows the rendering in IE before we apply the fix: HTML5 Doctor, helping you implement HTML5 today. How to use HTML5 in your client work right now. I was presenting some designs to a client a couple of weeks ago when this question came up: Will you be building this site with HTML5 in mind? Naturally, I was happy to answer that one! It went a little like this: Me: We’ll build the whole thing with HTML5 if that’s okay with you guys.

One question though: do you know what percentage of your visitors use Internet Explorer without JavaScript to view your site? Client: Erm, I don’t really know, and I wouldn’t want to lose those visitors. Whoa there! Great! After telling Remy about this conversation, he proposed that we cover this subject in an article, so here we are! We’re treating this article a bit differently, like a Q & A with the authors, so let us know if you like this new style.

Which bits of HTML5 can I use right now? Rich: Lots of them! For a clearer idea of what is or isn’t cross-browser compatible, check out these sites from Molly Holzschlag and Alex Deveria. Remy: Assess the technology and fit it to your project. Remy: No. Coding A HTML 5 Layout From Scratch - Smashing Magazine. Advertisement HTML5 and CSS3 have just arrived (kinda), and with them a whole new battle for the ‘best markup’ trophy has begun. Truth to be told, all these technologies are mere tools waiting for a skilled developer to work on the right project. As developers we shouldn’t get into pointless discussions of which markup is the best. They all lead to nowhere. Rather, we must get a brand new ideology and modify our coding habits to keep the web accessible. While it is true HTML5 and CSS3 are both a work in progress and is going to stay that way for some time, there’s no reason not to start using it right now.

So today we’re going to experiment a little with these new technologies. It’d be a good idea to have a read at some of these articles first: I’ll also assume you know the basics of HTML and CSS. Before we begin… There’s a couple of things you have to bear in mind before adventuring on the new markup boat. A word on Progressive Enhancement and Graceful Degradation 1. 2. <! A few highlights: HTML 5 Templates, HTML 5 canvas, HTML5 video, HTML 5 XHTML, HTML.

CSS only

No more Transitional DOCTYPEs, please. For a long time now my answer to people who ask me if they should use HTML or XHTML has been that it doesn’t really matter as long as you use a Strict DOCTYPE and not a Transitional one. If you’re not sure why, my article Transitional vs. Strict Markup for last year’s 24 ways is a good start. It’s good to see that I am not the only one who thinks that the phasing out of Transitional DOCTYPEs is long overdue (they are called Transitional for a reason, you know).

Jack Pickard talks about this in his Accessites.org article It’s Time To Kill Off Transitional DOCTYPES (you can post comments on Jack’s personal website in the identically named It’s time to kill off Transitional DOCTYPEs). In the article Jack mentions the comment at the top of the HTML 4.01 Transitional Document Type Definition that basically tells you not to use it: This is the HTML 4.01 Transitional DTD, which includes presentation attributes and elements that W3C expects to phase out as support for style sheets matures.

Layouts

SELFHTML 8.1.2 (HTML-Dateien selbst erstellen) SELFHTML stellt seit 1995 eine deutschsprachige Dokumentation zu HTML und verwandten Technologien zur Verfügung. Wir möchten dabei besonders … Anfängern die Grundlagen vermitteln und Kurse in deutscher Sprache anbieten Fortgeschrittenen ein Nachschlagewerk bereitstellen Everyone’s a publisher/wiki/SELFHTML#Everyone.E2.80.99s_a_publisher SELFHTML gehört seit vielen Jahren zu den bekanntesten Dokumentationen über das Erstellen von Web-Seiten. Sie möchte allen Menschen Mut machen, das, was sie zu sagen haben, selbst im Web zu publizieren. Fertige Content Management Systeme, soziale Netzwerke und andere Plattformen bieten dafür ebenfalls Mittel an. Dort sind Sie aber an die Formate und Regeln der jeweiligen Plattform gebunden. Wollen Sie aber eine individuelle Webseite gestalten, müssen Sie sich mit den grundlegenden Werkzeugen vertraut machen.

Für Fragen zum Inhalt und Diskussionen steht das SELFHTML-Forum zur Verfügung. Website tips html dog. HTML. Blitzschnelle Browserweiche | Browser, Browserweiche, HTML | Dr. Browser Browserweichen sind manchmal notwendig. Aber ganz gleich, was man dafür verwendet, Javascript, SSI, CGI oder PHP, die Angelegenheit verursacht Arbeit, belastet den Server oder funktioniert nicht sicher. “Conditional Comments” sind da viel einfacher zu handhaben und sollten für einfache Zwecke bereits ausreichen.

Das Ganze funktioniert als eine Art interne Browserweiche, die nur der IE5 oder höher verstehen kann. Damit wird es möglich Funktionen einzubauen, die nur von diesen Browsern interpretiert werden. Alle anderen ignorieren die entsprechenden Passagen. Die Syntax ist eine Art erweiterte Kommentar. <! Damit rücken proprietäre Funktionen wie Filter, Laufschriften und ähnliches wieder in den Blickpunkt. Die “Conditional Comments” wurden von Microsoft mit verschiedenen Möglichkeiten ausgestattet: Damit wird es möglich, verschiedene Versionen des IE exakt anzusteuern, wenn man denn mag. <! <! Mozilla, Netscape und Co. Sven ist der Erfinder des Dr. HTML Techniques for Web Content Accessibility Guidelines 1.0. W3C Note 6 November 2000 This version: (plain text, PostScript, PDF, gzip tar file of HTML, zip archive of HTML) Latest version: Previous version: Editors: Wendy Chisholm, W3C; Gregg Vanderheiden, Trace R & D Center University of Wisconsin -- Madison; Ian Jacobs, W3C Copyright ©1999 - 2000 W3C® (MIT, INRIA, Keio), All Rights Reserved.

Abstract This document describes techniques for authoring accessible Hypertext Markup Language (HTML) content (refer to HTML 4.01 [HTML4]). This document is part of a series of documents about techniques for authoring accessible Web content. Note: This document contains a number of examples that illustrate accessible solutions in CSS but also deprecated examples that illustrate what content developers should not do. Status of this document 1 Document structure and metadata Checkpoints in this section: Example. Css.