Tag Articolo: html

0HTML5 LogoSfondi pigri reattivi invece dell'immagine di sfondo CSS

I’ve recently been work­ing on an update/overhaul of both my vari­ous web­sites and the serv­er backend. As part of this pro­cess I’ve been try­ing ot make sure everything is using the latest stand­ards to max­im­ise per­form­ance and com­pat­ab­il­ity. One of the best fea­tures of recent ver­sions of word­press is the nat­ive sup­port for respons­ive images — where the img­set=”” attribut eis used to sup­ply altern­at­ive sizes of images in a group so the browser can use the most appro­pri­ate. In com­bin­a­tion with async load­ing and lazy load­ing this can make pages load far faster whilst still look­ing good to all vis­it­ors. How­ever css has not adop­ted these new­er fea­tures so back­ground images are much trick­i­er to deal with. It can be done though…
Leggi l'articolo completo

0HTML5 LogoHTML5 spec finito e pubblicato!

Finalmente, the W3C has pub­lished the final HTML5 spe­cific­a­tionDIY Media Home is already writ­ten coded in HTML5, but the final­isa­tion of the spe­cific­a­tion means that HTML5 com­pli­ance is no longer a mov­ing tar­get for either us, or the browser makers. Hope­fully all the main play­ers will provide fully HTML5 com­pli­ant browsers soon. In the mean­time we’ll be work­ing to ensure our site is fully com­pli­ant with the final spec.

Leggi l'articolo completo

0Internet Explorer 9 LogoCome lanciare programmi basati HTML fullscreen

Di recente mi è stato chiesto se potevo copiare una risorsa didattica da a CD-ROM su un computer portatile. Questo particolare programma è principalmente HTML con alcuni video incorporati. C'erano 2 problemi con l'esecuzione da un collegamento locale.
1. Avvisi di sicurezza di Internet Explorer
2. La finestra a schermo intero viene avviata da una finestra del browser principale che si trova quindi sopra la finestra a schermo intero e deve essere chiusa quando si esce dalla finestra a schermo intero
Entrambi sono solo fastidi piuttosto che fallimenti critici, ma una soluzione completa comporta la correzione di questo genere di cose. Trovare una soluzione è stato un po' complicato, ma una volta che la soluzione si è presentata è stato molto semplice.

Leggi l'articolo completo