Iframes

postat acum 4 ani de Stefanescu Mihai in categorie HTML

Puteti defini un frame inline cu tag-ul HTML <iframe>. Acest tag nu este face parte din familia frameset-urilor, de fapt acest tip de frame p[oate fi postat oriune in documentul HTML. Tag-ul <iframe> defineste o zona in documentul html in care va fi afisat alt document html, un alt document care poate avea atat border-uri cat si scrollbar-uri. Atributul src este folosit pentru a specifica URL-ul documentului ce va fi afisat in iframe.

<!DOCTYPE html>
<html>
<head>
<title>Iframe HTML</title>
</head>
<body>
<p>Continutul iframe-ului este chiar sub acest paragraf:</p>
<iframe src="/examples/iframe/iframe.html" width="555" height="200">
   Browser-ul tau nu suporta iframe-uri.
</iframe>
<p>Iar aici poti posta alt continut din pagina...</p>
</body>
</html>

Atribute

Atributele acestuit tag (name, class, frameborder, id, longdesc, marginheight, marginwidth, name, scrolling, style,si title ) sunt similare cu cele din cazul tag-ului <frame>.

Atribut Descriere
src In acest atribut este specificata locatia documentului html care va fi incarcat.
name Numele unui frame. Acest atribut este important in cazul in care doriti sa faceti link-urile dintr-un frame sa se deschida in altul.
frameborder Acest atribut specifica daca va exista un border tridimensional intre frameuri. Acesta are 2 valori 1 si 0 (1 avem border si 0 nu avem border).
marginwidth Acest atribut represinta spatiul dintre border si continutul frame-ului in stanga/dreapta. Valoare trebuie specificata in pixeli.
marginheight Similar cu marginwidth, numai ca aici setam distanta sus/jos.
noresize Acest tag se foloseste pentru a interzice redimensionarea unui frame. Exemplu folosire: noresize=”noresize”
scrolling Acest atribut specifica daca sunt permise scrollbar-urile in frameuri. Poate avea 2 valori, “yes” si “no”.

 

Sunt un tanar programator din Bucuresti ce lucreaza in PHP/Mysql (MySqli/PDO), Laravel, CodeIgniter, MySQL, PostgreSQL, Wordpress, HTML5/CSS3, Sass, Photoshop si multe altele.
Google+ Community Facebook Group
Acest articol a fost mutat de pe vechea platforma.
Pentru orice eroare aparuta la mutare va rog sa ma contactati!

Comentariu postate de download minecraft la data de 14.05.2019
Hi there, just became aware of your blog through Google, and found that it is really informative. I am going to watch out for brussels. I will appreciate if you continue this in future. A lot of people will be benefited from your writing. Cheers!
Comentariu postate de minecraft free la data de 15.05.2019
Wow, this paragraph is nice, my younger sister is analyzing such things, so I am going to tell her.
Comentariu postate de how to download minecraft la data de 15.05.2019
Definitely believe that which you said. Your favorite justification seemed to be on the internet the simplest thing to be aware of. I say to you, I definitely get annoyed while people consider worries that they just don't know about. You managed to hit the nail upon the top and defined out the whole thing without having side-effects , people can take a signal. Will probably be back to get more. Thanks
Comentariu postate de minecraft free download la data de 16.05.2019
I was curious if you ever thought of changing the structure of your website? Its very well written; I love what youve got to say. But maybe you could a little more in the way of content so people could connect with it better. Youve got an awful lot of text for only having 1 or two images. Maybe you could space it out better?
Comentariu postate de cheap jordan shoes la data de 18.05.2019
My wife and i were absolutely joyous that Michael could complete his investigation through the ideas he was given through your web site. It is now and again perplexing to simply always be freely giving thoughts many others might have been making money from. Therefore we figure out we have got the writer to thank for that. These explanations you made, the straightforward blog menu, the relationships you will help promote - it's everything astonishing, and it's really aiding our son in addition to us feel that this idea is cool, which is certainly exceedingly vital. Thank you for all!
Comentariu postate de free minecraft la data de 18.05.2019
hello there and thank you for your info – I have definitely picked up something new from right here. I did however expertise some technical points using this website, since I experienced to reload the web site many times previous to I could get it to load properly. I had been wondering if your web host is OK? Not that I am complaining, but slow loading instances times will very frequently affect your placement in google and can damage your high-quality score if advertising and marketing with Adwords. Anyway I'm adding this RSS to my email and could look out for a lot more of your respective fascinating content. Ensure that you update this again very soon.