Vis text fil i browser med HTML tags
Hvordan får jeg vist en txt fil i browser som indeholder HTML tags?når jeg uploader kode.txt til min webserver så vises den som om det var en htm fil.
kode.txt indeholder :
<html>
<head>
<title></title>
<style>
<!--
body {
background-image: url("billeder/kort.jpg");
background-repeat: no-repeat;
background-attachment: fixed;
background-position: top center;
}
-->
</style>
Flere muligheder!
background-repeat: repeat-x Billedet gentages horisontalt
background-repeat: repeat-y Billedet gentages vertikalt
background-repeat: repeat Billedet gentages både horisontalt og vertikalt
background-repeat: no-repeat Billedet gentages ikke
background-position: top;
background-position: top center;
background-position: top left;
background-position: top right;
background-position: left;
background-position: left top;
background-position: left center;
background-position: left bottom;
background-position: right;
background-position: right top;
background-position: right center;
background-position: right bottom;
background-position: bottom;
background-position: bottom left;
background-position: bottom center;
background-position: bottom right;
</head>
Hvordan får jeg den vist i browseren som en text fil???
