NAVIGACIJA
Osnovi programiranja - Jelena Grmuša 0 1 3 4 5 6 7 8 9 10 11 12 Uvod u Web i Internet tehnologije

Sekcija BODY

<BODY> atributi


 

Atributi taga BODY definišu izgled osnovnih karakteristika prikaza dokumenta:

 

Primer 5



<!--Opisati HTML dokument koji na sivoj pozadini sadrzi strofu Sting-ov pesme Fields 
of Gold prikazanu plavom bojom, ali da 3.stih bude u violet boji-->
<HTML><HEAD><TiTLE>Atributi BGCOLOR,TEXT </TITLE>  </HEAD>
<BODY BGCOLOR="#808080"  TEXT="#0000FF">
<!--Zbog vrednosti atributa BGCOLOR pozadina je siva, a zbog vrednosti atributa
TEXT sledeci sadrzaj je plave boje-->
<H1 ALIGN="CENTER"> Fields of Gold </H1>
Many years have passed since those summer days<BR>
Among the fields of barley<BR>
<FONT COLOR="#EE82EE">See the children run as the sun goes down</FONT> <BR>
<!--Treci stih je violet boje zbog vrednosti atributa COLOR-->
Among the fields of gold  
<!--Cetvrti stih je ostao plave boje --> 
</BODY>  
</HTML> 
  1. Unesite sadržaj ovog HTML dokumenta
  2. Sačuvajte ga pod nazivom peti.htm
  3. Upotrebite neki od browser-a za pregled datoteke peti.htm
  4. Uočite doseg važenja definicije boje teksta i fragmenta teksta

Heksadekadni tripleti boja

 

izgled boje naziv boje heksadecimalni triplet izgled boje
  white FFFFFF  
  ghostwhite F8F8FF  
  whitesmoke F5F5F5  
  snow FFFAFA  
  azure F0FFFF  
  honeydew F0FFF0  
  mintcream F5FFFA  
  lightyellow FFFFE0  
  floralwhite FFFAF0  
  ivory FFFFF0  
  linen FAF0E6  
  oldlace FDF5E6  
  seashell FFF5EE  
  lavenderblush FFF0F5  
  lavender E6E6FA  
  gainsboro DCDCDC  
  lightgrey D3D3D3  
  silver C0C0C0  
  darkgray A9A9A9  
  lightslategray 778899  
  slategray 708090  
  gray 808080  
  dimgray 696969  
  black 000000  
  bisque FFE4C4  
  wheat F5DEB3  
  moccasin FFE4B5  
  peachpuff FFDAB9  
  mistyrose FFE4E1  
  pink FFC0CB  
  lightpink FFB6C1  
  rosybrown BC8F8F  
  coral FF7F50  
  tomato FF6347  
  orangered FF3300  
  red FF0000  
  crimson DC143C  
  indianred CD5C5C  
  firebrick B22222  
  darkred 8B0000  
  maroon 800000  
  brown A52A2A  
  saddlebrown 8B4513  
  sienna A0522D  
  chocolate D2691E  
  darkorange FF8C00  
  orange FFA500  
  lightsalmon FFA07A  
  darksalmon E9967A  
  salmon FA8072  
  sandybrown F4A460  
  navajowhite FFDEAD  
  blanchedalmond FFEBCD  
  papayawhip FFEFD5  
  antiquewhite FAEBD7  
  beige F5F5DC  
  cornsilk FFF8DC  
  palegoldenrod EEE8AA  
  khaki F0E68C  
  yellow FFFF00  
  gold FFD700  
  darkgoldenrod B8860B  
  peru CD853F  
  goldenrod DAA520  
  tan D2B48C  
  burlywood DEB887  
  darkkhaki BDB76B  
  chartreuse 7FFF00  
  greenyellow ADFF2F  
  lawngreen 7CFC00  
  lime 00FF00  
  springgreen 00FF7F  
  palegreen 98FB98  
  mediumspringgreen 00FA9A  
  limegreen 32CD32  
  mediumseagreen 3CB371  
  yellowgreen 9ACD32  
  mediumaquamarine 66CDAA  
  darkseagreen 8FBC8F  
  forestgreen 228B22  
  green 008000  
  seagreen 2E8B57  
  olive 808000  
  olivedrab 6B8E23  
  darkgreen 006400  
  darkslategray 2F4F4F  
  darkolivegreen 556B2F  
  aquamarine 7FFFD4  
  aqua 00FFFF  
  cyan 00FFFF  
  paleturquoise AFEEEE  
  turquoise 40E0D0  
  mediumturquoise 48D1CC  
  darkturquoise 00CED1  
  lightseagreen 20B2AA  
  cadetblue 5F9EA0  
  teal 008080  
  darkcyan 008B8B  
  steelblue 4682B4  
  deepskyblue 00BFFF  
  lightskyblue 87CEFA  
  lightsteelblue B0C4DE  
  powderblue B0E0E6  
  skyblue 87CEEB  
  cornflowerblue 6495ED  
  dodgerblue 1E90FF  
  mediumslateblue 7B68EE  
  slateblue 6A5ACD  
  royalblue 4169E1  
  blue 0000FF  
  mediumblue 0000CD  
  darkslateblue 483D8B  
  navy 000080  
  darkblue 00008B  
  midnightblue 191970  
  indigo 4B0082  
  blueviolet 8A2BE2  
  darkorchid 9932CC  
  darkviolet 9400D3  
  mediumpurple 9370DB  
  orchid DA70D6  
  mediumorchid BA55D3  
  fuchsia FF00FF  
  magenta FF00FF  
  hotpink FF69B4  
  violet EE82EE  
  thistle D8BFD8  
  plum DDA0DD  
  palevioletred DB7093  
  deeppink FF1493  
  mediumvioletred C71585  
  purple 800080  
  darkmagenta 8B008B  

Sekcija HEAD Nastavak

e-mail: Jelena Grmuša


Copyright © 2002, Jelena Grmusa
Poslednja izmena: novembar 2005.