HTML5 will incorporate high definition extensions


 
Thread Tools Search this Thread
Special Forums News, Links, Events and Announcements UNIX and Linux RSS News HTML5 will incorporate high definition extensions
# 1  
Old 04-01-2008
HTML5 will incorporate high definition extensions

Tue, 01 Apr 2008 10:30:00 GMT
PILTDOWN, UK - High definition HTML is coming to a site near you -- whether you will see it is another matter. An addition to the HTML5 working draft specification was approved by the World Wide Web Consortium (W3C) working group over the weekend, including several new HTML elements and attributes designed to support output on high definition displays. But due to patent protection, open source Web browsers may not be allowed to implement a significant portion of the standard.


Source...
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. What is on Your Mind?

HTML5 Elements for UNIX.COM

You may notice some new headers and section labels on existing pages and sections. I have been updating the site to be fully HTML5 compliant and have started to wrap various HTML templates for the site with HTML 5 elements like the ones below: <article> Defines an article in a document... (7 Replies)
Discussion started by: Neo
7 Replies

2. What is on Your Mind?

Definition of Bytes

A byte is the smallest unit of storage which can be accessed in a computer's memory- either in RAM or ROM.It also holds exactly 8 bits.But its old view one byte was sufficient to hold one 8 bit character.Modern days especially on .NET or international versions of Win 32, 16 bits is needed. ... (2 Replies)
Discussion started by: stoudtLion
2 Replies

3. Shell Programming and Scripting

what would a script include to find CPU's %system time high and user time high?

Hi , I am trying to :wall: my head while scripting ..I am really new to this stuff , never did it before :( . how to find cpu's system high time and user time high in a script?? thanks , help would be appreciated ! :) (9 Replies)
Discussion started by: sushwey
9 Replies

4. Red Hat

apache high cpu load on high traffic

i have a Intel Quad Core Xeon X3440 (4 x 2.53GHz, 8MB Cache, Hyper Threaded) with 16gig and 1tb harddrive with a 1gb port and my apache is causing my cpu to go up to 100% on all four cores heres my http.config <IfModule prefork.c> StartServers 10 MinSpareServers 10 MaxSpareServers 15... (4 Replies)
Discussion started by: awww
4 Replies

5. Shell Programming and Scripting

How to incorporate mutiple commands in Autosys commandline on UNIX

Hi, I am having a problem running multiple commands in a autosys command line. For example I would like to run a perl script first and then add sleep command after that in the same autosys job like below insert_job: xxxxxxxxx command: `perlscript.pl ; sleep 180` Perlscript.pl... (0 Replies)
Discussion started by: waavman
0 Replies

6. UNIX for Dummies Questions & Answers

Definition of $-

Could someone please direct me to a link that gives the definitions for each of the letters from the results of the $- environment variable? It would be nice to know what shell options each of the letters represents, but I am specifically looking for the shell option for 'c' (lowercase c). Thank... (12 Replies)
Discussion started by: sszd
12 Replies

7. OS X (Apple)

SigmaTel High Definition Audio 9200

Would anyone here know how modify the appleHDA.kext for use with a Sigmatel HD Audio STAC9200? Help would be much appreciated. Thank you (0 Replies)
Discussion started by: Heather
0 Replies

8. UNIX for Advanced & Expert Users

Sun: High kernel usage & very high load averages

Hi, I am seeing very high kernel usage and very high load averages on my system (Although we are not loading much data to our database). Here is the output of top...does anyone know what i should be looking at? Thanks, Lorraine last pid: 13144; load averages: 22.32, 19.81, 16.78 ... (4 Replies)
Discussion started by: lorrainenineill
4 Replies
Login or Register to Ask a Question
HTML::HTML5::Writer(3pm)				User Contributed Perl Documentation				  HTML::HTML5::Writer(3pm)

NAME
HTML::HTML5::Writer - output a DOM as HTML5 SYNOPSIS
use HTML::HTML5::Writer; my $writer = HTML::HTML5::Writer->new; print $writer->document($dom); DESCRIPTION
This module outputs XML::LibXML::Node objects as HTML5 strings. It works well on DOM trees that represent valid HTML/XHTML documents; less well on other DOM trees. Constructor "$writer = HTML::HTML5::Writer->new(%opts)" Create a new writer object. Options include: o markup Choose which serialisation of HTML5 to use: 'html' or 'xhtml'. o polyglot Set to true in order to attempt to produce output which works as both XML and HTML. Set to false to produce content that might not. If you don't explicitly set it, then it defaults to false for HTML, and true for XHTML. o doctype Set this to a string to choose which <!DOCTYPE> tag to output. Note, this purely sets the <!DOCTYPE> tag and does not change how the rest of the document is output. This really is just a plain string literal... # Yes, this works... my $w = HTML::HTML5::Writer->new(doctype => '<!doctype html>'); The following constants are provided for convenience: DOCTYPE_HTML2, DOCTYPE_HTML32, DOCTYPE_HTML4 (latest stable strict HTML 4.x), DOCTYPE_HTML4_RDFA (latest stable HTML 4.x+RDFa), DOCTYPE_HTML40 (strict), DOCTYPE_HTML40_FRAMESET, DOCTYPE_HTML40_LOOSE, DOCTYPE_HTML40_STRICT, DOCTYPE_HTML401 (strict), DOCTYPE_HTML401_FRAMESET, DOCTYPE_HTML401_LOOSE, DOCTYPE_HTML401_RDFA10, DOCTYPE_HTML401_RDFA11, DOCTYPE_HTML401_STRICT, DOCTYPE_HTML5, DOCTYPE_LEGACY (about:legacy-compat), DOCTYPE_NIL (empty string), DOCTYPE_XHTML1 (strict), DOCTYPE_XHTML1_FRAMESET, DOCTYPE_XHTML1_LOOSE, DOCTYPE_XHTML1_STRICT, DOCTYPE_XHTML11, DOCTYPE_XHTML_BASIC, DOCTYPE_XHTML_BASIC_10, DOCTYPE_XHTML_BASIC_11, DOCTYPE_XHTML_MATHML_SVG, DOCTYPE_XHTML_RDFA (latest stable strict XHTML+RDFa), DOCTYPE_XHTML_RDFA10, DOCTYPE_XHTML_RDFA11. Defaults to DOCTYPE_HTML5 for HTML and DOCTYPE_LEGACY for XHTML. o charset This module always returns strings in Perl's internal utf8 encoding, but you can set the 'charset' option to 'ascii' to create output that would be suitable for re-encoding to ASCII (e.g. it will entity-encode characters which do not exist in ASCII). o quote_attributes Set this to a true to force attributes to be quoted. If not explicitly set, the writer will automatically detect when attributes need quoting. o voids Set this to true to force void elements to always be terminated with '/>'. If not explicitly set, they'll only be terminated that way in polyglot or XHTML documents. o start_tags and end_tags Except in polyglot and XHTML documents, some elements allow their start and/or end tags to be omitted in certain circumstances. By setting these to true, you can prevent them from being omitted. o refs Special characters that can't be encoded as named entities need to be encoded as numeric character references instead. These can be expressed in decimal or hexadecimal. Setting this option to 'dec' or 'hex' allows you to choose. The default is 'hex'. Public Methods "$writer->document($node)" Outputs (i.e. returns a string that is) an XML::LibXML::Document as HTML. "$writer->element($node)" Outputs an XML::LibXML::Element as HTML. "$writer->attribute($node)" Outputs an XML::LibXML::Attr as HTML. "$writer->text($node)" Outputs an XML::LibXML::Text as HTML. "$writer->cdata($node)" Outputs an XML::LibXML::CDATASection as HTML. "$writer->comment($node)" Outputs an XML::LibXML::Comment as HTML. "$writer->pi($node)" Outputs an XML::LibXML::PI as HTML. "$writer->doctype" Outputs the writer's DOCTYPE. "$writer->encode_entities($string, characters=>$more)" Takes a string and returns the same string with some special characters replaced. These special characters do not include any of '&', '<', '>' or '"', but you can provide a string of additional characters to treat as special: $encoded = $writer->encode_entities($raw, characters=>'&<>"'); "$writer->encode_entity($char)" Returns $char entity-encoded. Encoding is done regardless of whether $char is "special" or not. "$writer->is_xhtml" Boolean indicating if $writer is configured to output XHTML. "$writer->is_polyglot" Boolean indicating if $writer is configured to output polyglot HTML. "$writer->should_force_start_tags" "$writer->should_force_end_tags" Booleans indicating whether optional start and end tags should be forced. "$writer->should_quote_attributes" Boolean indicating whether attributes need to be quoted. "$writer->should_slash_voids" Boolean indicating whether void elements should be closed in the XHTML style. BUGS AND LIMITATIONS
Certain DOM constructs cannot be output in non-XML HTML. e.g. my $xhtml = <<XHTML; <html xmlns="http://www.w3.org/1999/xhtml"> <head><title>Test</title></head> <body><hr>This text is within the HR element</hr></body> </html> XHTML my $dom = XML::LibXML->new->parse_string($xhtml); my $writer = HTML::HTML5::Writer->new(markup=>'html'); print $writer->document($dom); In HTML, there's no way to serialise that properly in HTML. Right now this module just outputs that HR element with text contained within it, a la XHTML. In future versions, it may emit a warning or throw an error. In these cases, the HTML::HTML5::{Parser,Writer} combination is not round-trippable. Outputting elements and attributes in foreign (non-XHTML) namespaces is implemented pretty naively and not thoroughly tested. I'd be interested in any feedback people have, especially on round-trippability of SVG, MathML and RDFa content in HTML. Please report any bugs to <http://rt.cpan.org/>. SEE ALSO
HTML::HTML5::Parser, HTML::HTML5::Builder, HTML::HTML5::ToText, XML::LibXML. AUTHOR
Toby Inkster <tobyink@cpan.org>. COPYRIGHT AND LICENSE
Copyright (C) 2010-2012 by Toby Inkster. This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.14.2 2012-06-12 HTML::HTML5::Writer(3pm)