<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Consiglio Snippet HTML5 Base]]></title><description><![CDATA[<p dir="auto">Ciao a Tutti!</p>
<p dir="auto">Vorrei da voi un consiglio riguardo alla <strong>creazione di uno "Snippet" per una pagina HTML5 base</strong>.<br />
Secondo voi c'è tutto o devo modificare, togliere, aggiungere qualcosa?<br />
In un secondo momento dovrò poi integrarlo con <strong>Bootstrap</strong>.</p>
<pre><code class="language-html">&lt;!DOCTYPE html&gt;&lt;html lang="it"&gt;
&lt;head&gt;
 &lt;meta charset="utf-8"&gt;
  &lt;meta name="robots" content="all | none | index | noindex | follow |nofollow"&gt;
  &lt;meta name="revisit-after" content="30 days"&gt;
  &lt;meta name="author" content="Autore del Sito info@autore.org"&gt;
  &lt;meta name="owner" content="Nome Proprietario"&gt;
  &lt;meta name="language" content="it"&gt;
  &lt;title&gt;Nome Sito - Il miglior Sito che esista&lt;/title&gt;
  &lt;meta name="description" content="La descrizione del sito o della pagina"&gt;
  &lt;script type="text/javascript"&gt;
  &lt;/script&gt;
   &lt;link rel="stylesheet" href="foglio.css" type="text/css"&gt;
   &lt;style&gt;header, footer, article {display: block;}&lt;/style&gt;
&lt;/head&gt;
 &lt;body&gt;
  &lt;header&gt;&lt;h1&gt;Intestazione sezione del documento&lt;/h1&gt;&lt;/header&gt;
  &lt;article&gt;&lt;p&gt;Testo dell'articolo&lt;/p&gt;&lt;/article&gt;
  &lt;footer&gt;Terminazione sezione del documento&lt;/footer&gt;
 &lt;/body&gt;
&lt;/html&gt;
</code></pre>
]]></description><link>https://dev.connect.gt/topic/212014/consiglio-snippet-html5-base</link><generator>RSS for Node</generator><lastBuildDate>Thu, 26 Nov 2026 18:07:22 GMT</lastBuildDate><atom:link href="https://dev.connect.gt/topic/212014.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 09 Mar 2015 19:40:40 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Consiglio Snippet HTML5 Base on Wed, 25 Mar 2015 09:29:51 GMT]]></title><description><![CDATA[<p dir="auto">Si, dev'essere responsivo. Comunque ho notato che sul sito di <strong>Bootstrap</strong> c'è questo:</p>
<pre><code class="language-html">&lt;!DOCTYPE html&gt;&lt;html lang="en"&gt;
&lt;head&gt;
&lt;meta charset="utf-8"&gt;
&lt;meta http-equiv="X-UA-Compatible" content="IE=edge"&gt;
&lt;meta name="viewport" content="width=device-width, initial-scale=1"&gt;
&lt;!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags --&gt;
&lt;title&gt;Bootstrap 101 Template&lt;/title&gt;

&lt;!-- Bootstrap --&gt;&lt;link href="css/bootstrap.min.css" rel="stylesheet"&gt;
&lt;!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries --&gt;
&lt;!-- WARNING: Respond.js doesn't work if you view the page via file:// --&gt;
&lt;!--[if lt IE 9]&gt;
&lt;script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"&gt;&lt;/script&gt;
&lt;script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"&gt;&lt;/script&gt;
&lt;![endif]--&gt;
&lt;/head&gt;
&lt;body&gt;
&lt;h1&gt;Hello, world!&lt;/h1&gt;
&lt;!-- jQuery (necessary for Bootstrap's JavaScript plugins) --&gt;
&lt;script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"&gt;&lt;/script&gt;
&lt;!-- Include all compiled plugins (below), or include individual files as needed --&gt;
&lt;script src="js/bootstrap.min.js"&gt;&lt;/script&gt;
&lt;/body&gt;
&lt;/html&gt;
</code></pre>
<p dir="auto">che dovrebbe già andare bene.<br />
Grazie a tutti per le risposte!</p>
]]></description><link>https://dev.connect.gt/post/1192361</link><guid isPermaLink="true">https://dev.connect.gt/post/1192361</guid><dc:creator><![CDATA[rbnz]]></dc:creator><pubDate>Wed, 25 Mar 2015 09:29:51 GMT</pubDate></item><item><title><![CDATA[Reply to Consiglio Snippet HTML5 Base on Thu, 12 Mar 2015 10:12:49 GMT]]></title><description><![CDATA[<p dir="auto">Dipende se devi fare un sito responsive oppure no.</p>
]]></description><link>https://dev.connect.gt/post/1192358</link><guid isPermaLink="true">https://dev.connect.gt/post/1192358</guid><dc:creator><![CDATA[juanin]]></dc:creator><pubDate>Thu, 12 Mar 2015 10:12:49 GMT</pubDate></item><item><title><![CDATA[Reply to Consiglio Snippet HTML5 Base on Thu, 12 Mar 2015 06:28:35 GMT]]></title><description><![CDATA[<p dir="auto">Grazie Juanin per aver risposto.<br />
Ho letto in  giro che è consigliato inserire anche il meta tag viewport.</p>
<table class="table table-bordered table-striped">
<thead>
<tr>
<th>&lt;meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0"&gt;</th>
</tr>
</thead>
</table>
]]></description><link>https://dev.connect.gt/post/1192360</link><guid isPermaLink="true">https://dev.connect.gt/post/1192360</guid><dc:creator><![CDATA[rbnz]]></dc:creator><pubDate>Thu, 12 Mar 2015 06:28:35 GMT</pubDate></item><item><title><![CDATA[Reply to Consiglio Snippet HTML5 Base on Tue, 10 Mar 2015 14:38:07 GMT]]></title><description><![CDATA[<p dir="auto">Per quanto riguarda l'inclusione del CSS posso dirti che in HTML5 il type="text/css" non è necessario.</p>
<p dir="auto">Il robot a meno di dover mettere direttive come noindex o nofollow può essere omesso.</p>
<p dir="auto">Il revisit-after a meno di esigenze particolare non serve.</p>
<p dir="auto">Per quanto riguarda il body invece dipende da come vuoi organizzare la pagina. Nel tuo caso ad esempio suppongo che sia un articolo quindi l'header+h1 sarebbe più corretto includerlo dentro l'article.</p>
<p dir="auto">Potresti avere ad esempio una situazione come la seguente</p>
<pre><code class="language-html">&lt;header&gt;
  &lt;h1&gt;informazioni header&lt;/h1&gt;
  &lt;p&gt;altre informazioni header&lt;/p&gt;....
&lt;/header&gt;
&lt;article&gt;
  &lt;header&gt;
    &lt;h1&gt;&lt;/h1&gt;
   &lt;/header&gt;
   &lt;p&gt;testo&lt;/p&gt;
  &lt;footer&gt;Informazioni di chiusura articolo&lt;/footer&gt;
&lt;/article&gt;
&lt;footer&gt;
  &lt;h1&gt;informazioni header&lt;/h1&gt;
  &lt;p&gt;altre informazioni header&lt;/p&gt;
  ....
  &lt;/footer&gt;
</code></pre>
<p dir="auto">Ma in ogni caso non c'è una struttura giusta o sbagliata, ma dipende solamente da come logicamente vuoi strutturare le pagine.</p>
]]></description><link>https://dev.connect.gt/post/1192357</link><guid isPermaLink="true">https://dev.connect.gt/post/1192357</guid><dc:creator><![CDATA[juanin]]></dc:creator><pubDate>Tue, 10 Mar 2015 14:38:07 GMT</pubDate></item></channel></rss>