Jump to content
root

[INNE] Przykładowy kod HTML

Recommended Posts

root

<html> 
<head> 
<title>eSASTRO</title> 
<link rel="Stylesheet" type="text/css" href="style.css" /> 
<script type="text/javascript"></script> 
</head> 
<body> 
<p align="justify">Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. Aenean ultricies mi vitae est. Mauris placerat eleifend leo. Quisque sit amet est et sapien ullamcorper pharetra. Vestibulum erat wisi, condimentum sed, commodo vitae, ornare sit amet, wisi. Aenean fermentum, elit eget tincidunt condimentum, eros ipsum rutrum orci, sagittis tempus lacus enim ac dui. Donec non enim in turpis pulvinar facilisis. Ut felis. Praesent dapibus, neque id cursus faucibus, tortor neque egestas augue, eu vulputate magna eros eu erat. Aliquam erat volutpat. Nam dui mi, tincidunt quis, accumsan porttitor, facilisis luctus, metus</p> 
<pre class="html"> 
a:link { 
       color: blue; 
   } 

   a:visited { 
       color: red; 
   } 
</pre>    
</body> 
</html> 

CSS


Body { 
   background-color:#0002; 
} 
.kod, .html, .css { 
   font-size: 12px; 
   font-family: "Courier New", Courier, monospace; 
   margin: 1em 0; 
   display: block; 
   background-color: #eee; 
   overflow: auto; 
   width: 90%; 
   padding: 2px 5px 20px 5px; 
   border-width: 1px; 
   border-style: solid; 
   border-color: #bbb #ccc #ccc #bbb; 
} 
.kod { 
   background: #eee url("img/kod.gif") repeat-y left top; 
   padding-left: 20px; 
} 
.html { 
   background: #eee url("img/kod_html.gif") repeat-y left top; 
   padding-left: 20px; 
} 
.css { 
   background: #eee url("img/kod_css.gif") repeat-y left top; 
   padding-left: 20px; 
} 
.skladnia { 
   overflow: auto; 
   width: 90%; 
   padding: 2px 5px 20px 5px; 
   background-color: #ffe; 
   border: 1px dotted #000; 
   font-size: 12px; 
} 
code { 
   font-family: "Courier New", Courier, monospace; 
} 

Pobierz: kodu.rar

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
×
×
  • Create New...