How to write code in wordpress blog for Making Tutorials
For Writing code in wordpress use <pre> </pre> Teg
Write your Javascript code in between pre teg
<form action="https://www.google.com/search" class="searchform" method="get" name="searchform" target="_blank"> <input name="sitesearch" type="hidden" value="eyeshiv.com"> <input autocomplete="on" class="form-control search" name="q" placeholder="Search in example.com" required="required" type="text"> <button class="button" type="submit">Search</button> </form>
Note: Use <Pre> teg only on Text Mode not in Visual Mode.