Table in HTML not presented correctly -
my code generates following html file. can see table tag @ beginning of code, when display in browser, table @ end of page. can 1 explain why happens?
<table border = '1'><tr><td>count(*)</td></tr><tr><td>3616</td> </tr> <!doctype html public "-//w3c//dtd xhtml 1.0 strict//en" "http://www.w3.org/tr/xhtml1/dtd/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head><title>project 1b</title><meta http-equiv="content- type" content="text/html; charset=iso-8859-1" /></head> <body> <form method="get"> <p><h3>project 1b: queries</h3></p> <p>type sql query in following box: </p> <textarea name="area" rows=20 cols=100>select count(*) movie; </textarea> <p> <input type="submit" name="submit" value="submit" /> </p> </form> <hr /> <h3>report:</h3> </body> </html>
i imagine it's because <table>
tag appears before <html>
tag. try changing code generate <html>
<table>
tags.
Comments
Post a Comment