Article History
 
 
 
Discussion
 
7072 views
 
34% nitrofurano
html5 (format) View HTML Version
 

'[l[http://en.wikipedia.org/wiki/Html5[HTML5] battles on BotB are similar to '[l[http://battleofthebits.com/lyceum/View/html%20(format)[HTML battles] but incorporate many of the new standards of the modern web. 

Often, your website will rely heavily on using and abusing javascript to the fullest extent you can manage within an hour. More likely than not, the host will allow for external javascript libraries (eg. jquery, vanilla.js, AngularJS) to speed up production and add improved functionality to your websites. 

'[#[Overview]

In HTML5 battles, '[[BotBr]s build a web page from scratch in an hour. CSS and JavaScript (ask your host if they allow '[l[http://jquery.com/[jquery] if you want to use it) are permitted; Flash, Java, and anything else that requires a plugin are not (video and audio tags ARE allowed however, this '[o]is'[/o] HTML5 afterall). The submitted file must either be a standalone .html file or a .zip file containing the main .html file and other assets. 

All resources (images, stylesheets, javascript et cetera) used in the entry must be the author's own work (and, in the case of '[[OHB]s, created during the entry period). Hotlinking to files on the Internet is prohibited, since it wastes bandwidth from the host, is prone to breaking, and usually breaks one of the other rules anyway. 

'[#[New Additions]

HTML5 has different standards than HTML; adding and removing features that separate it from the past allow it to be the standard of the modern web. Here's some go-to info for some of these standards. 

'[ul['[li[websites require a doctype, usually  will suffice]'[li[you are required to declare the encoding type in the  tags; usually  will suffice.]'[li[ is required in the head tags]] 
'[t[2]New elements added for better structure'[/t] '[ul['[li[
represents a generic document or application section. It can be used together with the h1, h2, h3, h4, h5, and h6 elements to indicate the document structure.]'[li[
represents an independent piece of content of a document, such as a blog entry or newspaper article.]'[li[
can be used as a container for the dominant contents of another element, such as the main content of the page. In W3C HTML5 and W3C HTML 5.1, only one such element is allowed in a document.]'[li[
represents a group of introductory or navigational aids.]'[li[
represents a footer for a section and can contain information about the author, copyright information, etc.]'[li[

 
C A T E G O R I E S
 
 
Battle Formats