"Webgrafik- lær det selv"

Kodeeksempler

  • colortest01.htm
  • imagetest01.htm
  • bgtest01.htm
  • transp01.htm


    Kode til colortest01.htm

    <html>
    <head>
    <title>Color test</title>
    </head>
    <body bgcolor="#6495ED">
    <font size="7"><b>

    <font color="#FFFFA0">
    Hallo


    </font></b></font>
    </body>
    </html>


    Kode til imagetest01.htm

    <html>
    <head>
    <title>Image test</title>
    <meta name="author" content="">
    <meta name="description" content="">
    <meta name="keywords" content="">
    </head>
    <body>

    <img src="provence02.jpg" width="620" height="465" "border="0" alt="">

    </body>
    </html>


    Kode til bgtest01.htm

    <html>
    <head>
    <title>Background test</title>
    </head>
    <body background="pat1.jpg" >

    <img src="" alt="">

    </body>
    </html>


    Kode til transp01.htm

    <html>
    <head>
    <title>Transparency test</title>
    </head>
    <body bgcolor="#0000A0">

    <img src="grasshopper_tr.png" alt="">

    </body>
    </html>


    Copyright Michael Karbo 2001