Etiquetas
Before in this blog we talk about some of the new features that come with HTML 5.
The next are some features that I didn’t know it, but that we use every day.
Anteriormente en este mismo blog habíamos comentado algunas de las nuevas características que traía consigo HTML5.
Estas son un par que no conocía pero que usamos a diario.
New tag DOCTYPE so much easy to remember.
Now:
<!DOCTYPE html>
Before:
<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”>
It’s not longer necessary to indicate the type attribute on script and links
Now:
<link rel=”stylesheet” href=”path/to/stylesheet.css” />
<script src=”path/to/script.js”></script>
Before:
<link rel=”stylesheet” href=”path/to/stylesheet.css” type=”text/css” />
<script type=”text/javascript” src=”path/to/script.js”></script>
In this post of net tust+ you can find out more about the new features of HTML5
En este post de net tust+ pueden ahondar mas en algunas de las características del HMTL5