2014-09-26 33 views
-2

我想把一個richtextboc放在我的form.html文件中,因爲我需要編寫帶有樣式和「
」的代碼,我該怎麼做?謝謝 我試着塗下載一些scriptthat我在網上發現,因爲CKEditor的,但IDK的是如何讓它工作.. RichTextbox在HTML文件中

<!doctype html> 
 
<html> 
 
<head> 
 
    <meta charset="utf-8"> 
 
    <link rel="stylesheet" type="text/css" href="CSS/stile.css"> 
 
    <title>tabella</title> 
 
</head> 
 

 
<body> 
 
    <br> 
 
    <div class="titlebarpesiti" style="background-color:#22AEB9"> 
 
    CONTROLLO SITO 
 
    </div> 
 

 
    <br> 
 
    <br> 
 

 
    <div class="titlebarpesiti"> 
 
     <form id="richiesta dati" name="richiesta dati" method="POST" action="PHP/Scrittura_dati.php"> 
 

 
      <label for="festa">Festa: &nbsp;</label><input type="text" name="festa"> <br> <br> 
 
      <label for="data">Data: &nbsp;</label><input type="text" name="data"><br> <br> 
 
      <label for="luogo">Luogo: &nbsp;</label><input type="text" name="luogo"><br> <br> 
 
      <label for="prezzo">Prezzo: &nbsp;</label><input type="text" name="prezzo"><br> <br> 
 
      <label for="bus">Bus: &nbsp;</label><input type="text" name="bus"><br> <br> 
 
      <label for="organizzatori">Organizzatori: &nbsp;</label><input type="text" name="organizzatore"><br> <br> 
 
      <label for="dettagli">Altre info: &nbsp;</label><input type="text" name="dettagli"><br> <br> 
 
      <input type="submit" value="Invia Dati"><br> </br> 
 
     </form> 
 
    </div> 
 
    <div class="titlebarpesiti" style="background-color:#FF0004"> 
 
    ELIMINARE DATI 
 
     <form id="eliminare dati" name="eliminare dati" method="POST" action="PHP/eliminaredati.php"> 
 
      <input type="text" name="ideliminare"> 
 
      <input type="submit" value="INVIO"><br> </br> 
 
     </form> 
 
    </div> 
 

 
    <br> 
 
    <br> 
 

 
</body> 
 
</html>

+0

html沒有豐富的編輯控件,你必須使用一些第三方庫,如fckedit,tinemce,如果你不懂如何使用它們 - RTFM finally – 2014-09-26 22:55:07

回答