163
rated 0 times
[
165]
[
2]
/ answers: 1 / hits: 21628
/ 11 Years ago, sun, june 23, 2013, 12:00:00
I currently have the following html within a pre-code block:
<pre class=prettyprint><code>
<html>
<body>
<form name="input" action="html_form_action.asp" method="get">
<input type="radio" name="sex" value="male">Male<br>
<input type="radio" name="sex" value="female">Female<br>
<input type="submit" value="Submit">
</form>
<p>If you click the "Submit" button, the form-data will be sent to a page called "html_form_action.asp".</p>
</body>
</html>
</code></pre>
It is indented within the html source for better structure within the document. How can I remove the leading whitespace? Through the use of javascript or is there a more simple method.
More From » jquery