SlideServe
Menu
Préférences
© SlideServe · v2026

HTML Programming

dholt avatar
5 diapositives · 76 Views · Jan 02, 2020

HTML Programming. More HTML Hyperlinks Image. Hyperlinks. perhaps the most important HTML element is the hyperlink, or ANCHOR <a href=" URL ">…</a> where URL is the Web address of the page to be displayed when the user clicks on the link

HTML Programming - slide 1
01 / 5HTML Programming
1 / 17

Télécharger la présentation

HTML Programming
Une image / un lien ci-dessous est fourni (tel quel) pour télécharger la présentation

Politique de téléchargement : le contenu du site vous est fourni TEL QUEL pour votre information et votre usage personnel ; il ne peut être vendu, concédé sous licence ni partagé sur d’autres sites sans l’accord de son auteur.Le contenu vous est fourni TEL QUEL, pour votre information et votre usage personnel uniquement. Téléchargez la présentation en cliquant sur ce lien. Lors du téléchargement, si vous ne parvenez pas à télécharger une présentation, l’éditeur a peut-être supprimé le fichier de son serveur.Pendant le téléchargement, si vous ne parvenez pas à obtenir une présentation, le fichier a peut-être été supprimé par l’éditeur.

F I N

Plus de contenu associé

Transcription de la présentation
  1. HTML Programming • More HTML • Hyperlinks • Image

  2. Hyperlinks perhaps the most important HTML element is the hyperlink, or ANCHOR • <a href="URL">…</a> where URL is the Web address of the page to be displayed when the user clicks on the link if the page is accessed over the Web, must start with http:// if not there, the browser will assume it is the name of a local file • <a href="URL" target="_blank">…</a> causes the page to be loaded in a new window <html> <!-- page12.html --> <head> <title>Title for Page</title> </head> <body> <p> <a href="http://www.unikom.ac.id"> Open UNIKOM Website</a> <br> <a href="page11.html" target="_blank"> Open page11 in a new window</a> </p> </body> </html>

  3. Hyperlinks (cont.) <html> <!-- page11.html --> <head> <title>Title for Page</title> </head> <body> <p align="center"> [ <a href="#HTML">HTML</a> | <a href="#HTTP">HTTP</a> | <a href="#IP">IP</a> | <a href="#TCP">TCP</a> ] </p> <p> Computer acronyms: <dl> <a name="HTML"></a><dt>HTML <dd>HyperText Markup Language <a name="HTTP"></a><dt>HTTP <dd>HyperText Transfer Protocol <a name="IP"></a><dt>IP <dd>Internet Protocol <a name="TCP"></a><dt>TCP <dd>Transfer Control Protocol </p> </body> </html> for long documents, you can even have links to other locations in that document • <a name="ident">…</a> where ident is a variable for identifying this location • <a href="#ident">…</a> will then jump to that location within the file • <a href="URL#ident">…</a> can jump into the middle of another file just as easily

  4. Images can include images using IMG • by default, browsers can display GIF and JPEG files • other image formats may require plug-in applications for display <img src="filename" alt="alternate text" /> again, if file is to be accessed over the Web, must start with http:// (if not, will assume local file) <html> <!-- page12.html --> <head> <title>Title for Page</title> </head> <body> <div style="text-align:center" <p><img border="0" src="heckerb.jpg" width="362" height="539"></p> <p>Barbara Hecker</p> </div> </body> </html>

  5. End of LectureNext time, more HTML