You are on page 1of 7

<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<meta http-equiv="Content-Language" content="en-us">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>Multimedia</title>
</head>

<body vlink="#0039E6">

<table border="0" cellspacing="1" width="100%" height="105">


<tr>
<td width="18%" background="pc.gif" valign="top" height="4" rowspan="2"
style="border-bottom: 2 solid #0000A0">
<p align="right"><b><font color="#000080" size="4">RNCCC</font></b></td>
<td width="82%" background="PH02354J.jpg" height="4">
<p align="center"><font size="7" color="#FFFFFF"><b>Introducere in
HTML</b></font></td>
</tr>
<tr>
<td width="82%" bordercolor="#000080" bgcolor="#E3E3E3" height="1"
style="border-bottom: 1 solid #000080" valign="top">

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<applet code="fphover.class" codebase="../html_inc/" width="120" height="16">
<param name="color" value="#000080">
<param name="hovercolor" value="#0000FF">
<param name="textcolor" value="#FFFFFF">
<param name="text" value="Pagina principala">
<param name="effect" value="glow">
<param name="font" value="Dialog">
<param name="fontstyle" value="bold">
<param name="fontsize" value="12">
<param name="url" valuetype="ref" value="../../index.html">
</applet>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<applet code="fphover.class" codebase="../html_inc/" width="120" height="17">
<param name="color" value="#000080">
<param name="hovercolor" value="#0000FF">
<param name="textcolor" value="#FFFFFF">
<param name="effect" value="glow">
<param name="font" value="Dialog">
<param name="fontstyle" value="bold">
<param name="fontsize" value="12">
<param name="text" value="Instruire continua">
<param name="url" valuetype="ref" value="../../edu.html">
</applet>
</td>
</tr>
<tr>
<td width="100%" height="17" bgcolor="#98B8CD" colspan="2" valign="top"
style="border-bottom: 1 solid #000080">
<p
align="right">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&
nbsp;&nbsp;&nbsp;&nbsp;
<b>
<font color="#FFFFFF" size="2">Pagina urmatoare</font></b>&nbsp;&nbsp;&nbsp;
<a href="lectia6_2.html"><img border="0" src="BD21298_.GIF" width="22"
height="13" alt = "Pagina urmatoare"></a></p>
</td>
</tr>
</table>
<div align="center">
<center>
<table border="0" cellpadding="0" cellspacing="1" width="100%" style="border-top:
1 solid #000080">
<tr>
<td valign="top" width="18%" bgcolor="#D2E0EA">
<div align="left">
<table border="0" width="101%" height="560">
<tr>
<td width="100%" bgcolor="#E3E3E3" style="border: 1 solid #98B8CD"
height="17"><font size="2"><strong>
<a href="cuprins.html" style="text-decoration: blink">CUPRINS
</a></strong></font></td>
</tr>
<tr>
<td width="100%" bgcolor="#E3E3E3" style="border: 1 solid #98B8CD"
height="77"><font size="2"><strong>
<a style="text-decoration: blink" href="lectia1_1.html">GENERALITATI</a><font
size="3"><br>
</font><img border="0" src="BD14581_.GIF" WIDTH="12" HEIGHT="12"> </strong> <a
href="lectia1_1.html" style="text-decoration: blink">Introducere</a><br>
<img border="0" src="BD14581_.GIF" WIDTH="12" HEIGHT="12"> <a style="text-
decoration: blink" href="lectia1_2.html">Elemente
HTML</a><br>
<img border="0" src="BD14581_.GIF" WIDTH="12" HEIGHT="12"> <a
href="lectia1_3.html" style="text-decoration: blink">Un
document<br>
&nbsp;&nbsp;&nbsp;&nbsp; simplu</a></font></td>
</tr>
<tr>
<td width="100%" bgcolor="#E3E3E3" style="border: 1 solid #98B8CD"
height="107"><font size="2"><strong>
<a style="text-decoration: blink" href="lectia2_1.html">PREZENTAREA
DOCUMENTELOR<br>
</a><img border="0" src="BD14581_.GIF" WIDTH="12" HEIGHT="12">
</strong> <a style="text-decoration: blink"
href="lectia2_1.html">Alinierea</a><br>
<img border="0" src="BD14581_.GIF" WIDTH="12" HEIGHT="12"> <a style="text-
decoration: blink" href="lectia2_2.html">Liste
ordonate</a><br>
<img border="0" src="BD14581_.GIF" WIDTH="12" HEIGHT="12"> <a style="text-
decoration: blink" href="lectia2_3.html">Liste
neordonate</a><br>
<img border="0" src="BD14581_.GIF" WIDTH="12" HEIGHT="12"> <a
href="lectia2_4.html" style="text-decoration: blink">Liste
de definitie</a><br>
<img border="0" src="BD14581_.GIF" WIDTH="12" HEIGHT="12"> <a style="text-
decoration: blink" href="lectia2_5.html">Liste
in liste
</a>
</font></td>
</tr>
<tr>
<td width="100%" bgcolor="#E3E3E3" style="border: 1 solid #98B8CD"
height="77"><font size="2"><strong><a style="text-decoration: blink"
href="lectia3_1.html">TABELE<br>
</a><img border="0" src="BD14581_.GIF" WIDTH="12" HEIGHT="12">
</strong> <a style="text-decoration: blink" href="lectia3_1.html">Despre
tabele</a><br>
<img border="0" src="BD14581_.GIF" WIDTH="12" HEIGHT="12"> <a style="text-
decoration: blink" href="lectia3_2.html">Un
tabel simplu</a><br>
<img border="0" src="BD14581_.GIF" WIDTH="12" HEIGHT="12"> <a style="text-
decoration: blink" href="lectia3_3.html">Alinierea<br>
&nbsp;&nbsp;&nbsp;&nbsp; celulelor</a>
</font></td>
</tr>
<tr>
<td width="100%" bgcolor="#E3E3E3" style="border: 1 solid #98B8CD"
height="62"><font size="2"><b><a href="lectia4_1.html" style="text-decoration:
blink">EFECTE
VIZUALE</a></b><strong>
<a style="text-decoration: blink" href="lectia2_1.html"><br>
</a><img border="0" src="BD14581_.GIF" WIDTH="12" HEIGHT="12">
</strong> <a style="text-decoration: blink"
href="lectia4_2.html">Stiluri</a><br>
<img border="0" src="BD14581_.GIF" WIDTH="12" HEIGHT="12"> <a
style="text-decoration: blink" href="lectia4_3.html">Caractere<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; speciale</a>
</font></td>
</tr>
<tr>
<td width="100%" bgcolor="#E3E3E3" style="border: 1 solid #98B8CD"
height="62"><font size="2"><b><a style="text-decoration: blink"
href="lectia6_1.html">MULTIMEDIA</a></b><strong>
<a style="text-decoration: blink" href="lectia2_1.html"><br>
</a><img border="0" src="BD14581_.GIF" WIDTH="12" HEIGHT="12">
</strong> <a style="text-decoration: blink" href="#e1">Imagini</a><br>
<img border="0" src="BD14581_.GIF" WIDTH="12" HEIGHT="12"> <a
style="text-decoration: blink" href="lectia6_2.html">Sunet
si video</a>
</font></td>
</tr>
<tr>
<td width="100%" bgcolor="#E3E3E3" style="border: 1 solid #98B8CD"
height="21"><font size="2"><b><a style="text-decoration: blink"
href="lectia6_1.html">MULTIMEDIA</a></b><strong>
<a style="text-decoration: blink" href="lectia2_1.html"><br>
</a><img border="0" src="BD14581_.GIF" WIDTH="12" HEIGHT="12">
</strong><a style="text-decoration: blink" href="#e1">Imagini</a><br>
<img border="0" src="BD14581_.GIF" WIDTH="12" HEIGHT="12"> <a
style="text-decoration: blink" href="lectia6_2.html">Sunet
si video</a></font></td>
</tr>
<tr>
<td width="100%" bgcolor="#E3E3E3" height="21" style="border: 1 solid
#98B8CD"><font size="2"><a href="lectia7_1.html" style="text-decoration:
blink"><b>STRUCTURA
DOCUMENTELOR</b></a></font></td>
</tr>
<tr>
<td width="100%" bgcolor="#E3E3E3" height="21" style="border: 1 solid
#98B8CD"><font size="2"><strong><a style="text-decoration: blink"
href="lectia8_1.html">FORMULARE<br>
</a><img border="0" src="BD14581_.GIF" WIDTH="12" HEIGHT="12"> </strong>
<a style="text-decoration: blink" href="lectia8_2.html">Casete
text</a><br>
<img border="0" src="BD14581_.GIF" WIDTH="12" HEIGHT="12"> <a style="text-
decoration: blink" href="lectia8_3.html">Butoane
radio</a><br>
<img border="0" src="BD14581_.GIF" WIDTH="12" HEIGHT="12"> <a style="text-
decoration: blink" href="lectia8_4.html">Casete
de<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; validare</a><br>
<img border="0" src="BD14581_.GIF" WIDTH="12" HEIGHT="12"> <a style="text-
decoration: blink" href="lectia8_5.html">Liste
de selectie</a><br>
<img border="0" src="BD14581_.GIF" WIDTH="12" HEIGHT="12"> <a style="text-
decoration: blink" href="lectia8_6.html">Butoane</a></font></td>
</tr>
<tr>
<td width="100%" bgcolor="#E3E3E3" height="21" style="border: 1 solid
#98B8CD"><font size="2"><b><a href="exercitii/index_ex.html" style="text-
decoration: blink">EXERCITII</a></b></font></td>
</tr>
<tr>
<td width="100%" bgcolor="#E3E3E3" height="21" style="border: 1 solid
#98B8CD"><font size="2"><b><a style="text-decoration: blink"
href="exercitii/solutii.html">REZOLVARI</a></b></font></td>
</tr>
</table>
</div>
</td>
<td width="15"></td>
<td valign="top" width="80%">
<h2><br>
Multimedia</h2>

<h2>Adaugarea de obiecte multimedia&nbsp;</h2>

<p>O caracteristica de mare interes a Web-ului este posibilitatea sa de a


adauga imagini, sunet si video in documente care pot fi furnizate prin retea
pe diferite&nbsp;platforme.<br>
Aceasta facilitate are un caracter mai limitat decat aplicatiile specializate
pe multimedia dezvoltate pe diverse platforme, dar ceea ce merita remarcat este
capacitatea sa unificatoare de a asigura portabilitatea acestor documente
pe platforme diverse: Windows, UNIX, Macintosh.</p>

<p>Vizualizarea&nbsp; sau executia diverselor obiecte multimedia pe platforme


diferite nu este controlata de catre browser ci&nbsp; de catre aplicatii specifice
care pot gestiona diverse formate multimedia. Fac exceptie imaginile, care
pot fi prelucrate direct de catre browser. &nbsp;</p>

<p>In cele ce urmeaza se va arata modul de includere a imaginilor, sunetului


si video-ului in fisierele HTML.<br>
</p>

<!-- END --><!-- START -->


<h2><a name="e1">Imagini</a>&nbsp;</h2>

<p>Multe documente HTML includ imagini pentru a le spori continutul si


atractivitatea.
De multe ori, aceste imagini aduc un plus de informatie, dar se poate
constata in multe cazuri o utilizare excesiva a imaginilor pe Web.</p>

<p>Pentru a introduce o imagine in cadrul unui document se scrie cod cu urmatoarea


sintaxa:</p>

<p><code>&lt;IMG SRC=&quot;image.URL&quot; [ALIGN=&quot;...&quot;]


[ALT=&quot;...&quot;]&gt;</code></p>

<p>Atributele din paranteze sunt optionale si ele pot fi omise.</p>

<p>Browser-ele grafice pot afisa imagini in format GIF sau JPEG (fisiere
cu extensiile <i>.gif &nbsp; sau .jpg</i> )</p>

<p>Urmatoarele exemple arata utilizarea marcajelor HTML &lt;IMG&gt;. Exemplele


afiseaza pe browser o imagine denumita <i> arches.gif </i> care este localizata
intr-un
director numit <i>imagini</i> care se afla in subdirectorul directorului care
contine referinta. &nbsp;Referinta la imagine se face utilizand un URL
relativ.&nbsp;</p>

<p><code>&lt;IMG SRC=&quot;imagini/arches.gif&quot;
ALIGN=&quot;TOP&quot;ALT=&quot;exemplu
imagine&quot;&nbsp;</code></p>

<p><a href="imagini/arches.gif"><img src="imagini/arches.gif" align="top"


alt="exemplu imagine" WIDTH="150" HEIGHT="105"></a></p>

<p><code>&lt;IMG SRC=&quot;imagini/arches.gif&quot; ALIGN=&quot;MIDDLE&quot;


ALT=&quot;exemplu
imagine&quot;&gt;</code></p>

<p><a href="imagini/arches.gif"><img src="imagini/arches.gif" align="middle"


alt="exemplu imagine" WIDTH="150" HEIGHT="105">
</a><code><br>
&nbsp;&nbsp;</code></p>

<p><code>&nbsp;&lt;IMG SRC=&quot;imagini/arches.gif&quot; ALIGN=&quot;BOTTOM&quot;


ALT=&quot;exemplu

imagine&quot;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;</code></p>

<p><a href="imagini/arches.gif"><img src="imagini/arches.gif" align="bottom"


alt="exemplu imagine" WIDTH="150" HEIGHT="105">
</a> </p>

<h3>&nbsp;</h3>
<h3>Utilizarea imaginilor ca referinte (link-uri)</h3>

<p>Ca si textele, imaginile pot fi utilizate ca referinte. Marcajul HTML&nbsp;


&lt;IMG&gt; trebuie inclus in interiorul referintei. </p>

<p>De exemplu, urmatorul cod foloseste o imagine ca sa afiseze pe fereastra


browser-ului un fisier: </p>

<p><code>&lt;A HREF=&quot;cuprins.html&quot;&gt;&lt;IMG
SRC=&quot;imagini/point.gif&quot; ALT=&quot;vizualizeza
documentul&quot;&gt;&lt;/A&gt;</code></p>

<p>Rezultatul este urmatoarea imagine care actioneaza ca un


link:https://www.google.com/imgres?imgurl=https%3A%2F%2Fupload.wikimedia.org
%2Fwikipedia%2Fcommons%2Fthumb%2Fd%2Fd7%2FDesktop_computer_clipart_-
_Yellow_theme.svg%2F1200px-Desktop_computer_clipart_-
_Yellow_theme.svg.png&tbnid=MiPldTBJ-
uoc9M&vet=12ahUKEwj0jPeg7cCCAxWzof0HHTabCCAQMygBegQIARBF..i&imgrefurl=https%3A%2F
%2Fro.wikipedia.org%2Fwiki
%2FCalculator&docid=BLUDdOMwu4ZedM&w=1200&h=867&q=computer&safe=active&ved=2ahUKEwj
0jPeg7cCCAxWzof0HHTabCCAQMygBegQIARBF</p>

<p align="center"><a href="cuprins.html">


<img src="imagini/point.gif" alt="vizualizeaza documentul" WIDTH="16" HEIGHT="16">
</a></p>

<p>Utilizarea unei imagini pentru referinte este eficienta atunci cand este
insotita si de un text in cadrul referintei. Exista posibilitatea ca imaginea
singura sa nu sugereze existenta unui link. Exceptie face cazul in care imaginea
este in format redus si prin ea se face link la aceasi imagine, de dimensiune
marita. Aceasta situatie va fi si ea&nbsp; prezentata<font color="#ff0000"> <font
color="#330033">cele ce urmeaza.&nbsp;</font></font></p>

</td>
</tr>
</table>
</center>
</div>

<table border="0" cellspacing="1" width="100%" height="27">


<tr>
<td width="100%" height="1" bgcolor="#98B8CD" valign="top" style="border-bottom:
1 solid #000080">
<p
align="right">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<b>
<font color="#FFFFFF" size="2">Pagina urmatoare</font></b>&nbsp;&nbsp;&nbsp;
<a href="lectia6_2.html"><img border="0" src="BD21298_.GIF" width="22"
height="13" alt = "Pagina urmatoare"></a></p>
</td>
</tr>
</table>
<hr>

</body>

</html>

You might also like