css - Text area in HTML is showing code instead of being rendered and formatted -


i have done textareas before 1 killing me. text area showing html code , not css'ed properly. in actual window code textarea's element , shows rest of code in well, instead of rendering it. without textarea tag works peachy.

<article> <form method="post" name="form9" action="<?php echo $_server['php_self']; ?>">     <label for="firstname">first name <sup>*</sup></label>     <input type="text" id="firstname" name="firstname" required />      <label for="lastname">last name <sup>*</sup></label>     <input type="text" id="lastname" name="lastname"/>      <label for="wrstyle">writing style <sup>*</sup></label>     <textarea placeholder="please, briefly describe writing style." type="text" id="wrstyle" name="wrstyle"</textarea>      <label for="submit" class="centerit" title="click here register account">     <input type="submit" name="submit" value="sign up" />                 </label>                 <p class="notice"><sup>*</sup> denotes required field.</p>  </form> </article> 

you don't close opening tag of textarea (you missing >):

http://jsfiddle.net/bvk92/

it's worth noting <textarea> has no type attribute.


Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -