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 >
):
it's worth noting <textarea>
has no type
attribute.
Comments
Post a Comment