Hallo,
Kann mir jemand verraten wie ich einen HTML-Code in einer Box anzeigen lassen kann?
Brauche diese für eine MySpace Seite.
Hoffe jemand weiß was ich meine.![]()
Wie das mit MySpace funktioniert - keinen Plan. Aber nur mal nebenbei, um zu wissen, was genau überhaupt gemeint ist:Eine komplette HTML-Seite mit einer Box, in der HTML-Code gezeigt wird.HTML-Code:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>HTML-Code in Seite zeigen</title> <style type="text/css"> <!-- * {margin:0; padding:0;} body {background-color:#000000; color:#FFFFFF;} #box {border:1px solid #666666; width:400px; height:400px; margin:50px 0 0 30px; background-color:#999999; color:#333333; font-family:"Courier New", Courier, monospace; font-size:.8em; overflow:auto;} --> </style> </head> <body> <div id="box"> <p><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><br /> <html xmlns="http://www.w3.org/1999/xhtml"><br /> <head><br /> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><br /> <title>HTML-Code in Seite zeigen</title><br /> <style type="text/css"><br /> <!--<br /> * {margin:0; padding:0;}<br /> body {background-color:#000000; color:#FFFFFF;}<br /> #box {border:1px solid #666666; width:400px; height:400px; margin:50px 0 0 30px; background-color:#999999; color:#333333; font-family:"Courier New", Courier, monospace;}<br /> --><br /> </style><br /> </head></p> <p><body><br /> <div id="box"><br /> <p>&lt;div id=&quot;div1&quot;&gt;</p><br /> <p>Hier ist der Inhalt</p><br /> <p>&lt;/div&gt;</p><br /> </div><br /> </body><br /> </html><br /> </p> </div> </body> </html>
Funktionert den <blockquote></blockquote> nicht?
http://www.w3schools.com/TAGS/tag_blockquote.asp
Code haut man mit<code> und am Besten noch mit <pre> rein, dann brauchst du da nicht so viel drin rumfummeln![]()
Dann wird aber kein html-Code angezeigt![]()
...Meine Meinung
Aktive Benutzer in diesem Thema: 1 (Registrierte Benutzer: 0, Gäste: 1)