Tutorial: HTML

I-FRAME: utlizzo <3
Dunque, eccoci alla nostra prima lezione sull'HTML. Gli iFrame sono un tipo di tabella interno alla pagina web, utilizzati per mostrare le pagine in un riquadro all'interno di una pagina principale. Ad esempio, questo sito utilizza iFRAME. Come potete notare, infatti, la pagina principale non cambia mai, e nemmeno l'indirizzo nella barra superiore: qualunque sezione visitiate rimane "http://appesoaunchiodo.com/6th". Questo è l'iframe power XD

Sostanzialmente, usare gli iframe è semplice. Il codice è sempre uguale, basta inserirlo tra i tag <div> e </div> che delimitano una tabella, e dare le impostazioni giuste.

CODICE IFRAME utilizzato da the 6th pistol:
< iframe name="content"
src="pag_site/news.htm"
border="0"
height="1035"
width="445" >
< /iframe > (ovviamente senza spazi dopo < e >)

Esaminiamolo, uh?
iframe name="content". Beh questo è facile: dovete dare un nome al vostro iframe. In questo modo, quando vi servirà che una pagina venga aperta nell'iframe, dovrete semplicemente scrivere nel link < a href="xxx.html" target="nome del frame" >LINK< /a >.
src="pag_site/news.htm" Qui potete scegliere la pagina predefinita che si deve aprire nell'iframe. Mi spiego meglio: the 6th pistol ha una pagina chiamata "default.html" dove c'è l'iframe chiamato "content". Quando voi aprite il mio sito, nel frame vedete subito la pagina delle news. Questo perché ho specificato "src=news.htm" u__U!
border="0" Se volete mettere un bordino al vostro iframe, cambiate il valore
height="valore"; width="valore" Altezza e larghezza in pixel della tabella dove il frame viene inserito.


I-FRAME: usage.
Well, iFrames are webpages visualized in another web-page. In example, this site uses iFRAMES (a lot). As you can see, the URL address never changes (whatever section you visit, it keeps being 'http://appesoaunchiodo.com/6th'): this is the iFRAME power XD

Using iframes is quite easy. The code is always the same, you only have to paste it between <div> and </div> (so into a table), and give right information.

IFRAME CODE I used (the code of the moment is a little more articulated, this is the standard v_v):
< iframe name="content"
src="pag_site/news.htm"
border="0"
height="1035"
width="445" >
< /iframe > (obviously, without that funny spaces after < and >).

Let's check it out! XDD
iframe name="content". Oh that's easy. You must give a name to your iframe, just like a dog. Write down the name because everytime you want a page to open up into your iframe you'll have to specify it in the link code, like this: < a href="parapà.htm" target="name of your iframe" >LINK< /a>. Then, your 'parapà.htm' will open into the frame v_v
src="pag_site/news.htm" Here you can choose the default page to open in your iframe. Example: the 6th pistol has a page called 'default.htm' where I put the ifram called 'content'. When you open my site, the frame shows the news page because I wrote "src=news.htm
border="0" If you want your frame to have a border, edit the value
height="value"; width="value" oh well xD