Guest Mitch2052 Posted March 31, 2006 Share Posted March 31, 2006 HI ,I am trying to write a web page. My page has a few tables on it . I ran it through a htlm tidy to check it and it said I could not use <br> in a table. Does this matter? Thanks Link to comment Share on other sites More sharing options...
scott100 Posted March 31, 2006 Share Posted March 31, 2006 HI ,I am trying to write a web page. My page has a few tables on it . I ran it through a htlm tidy to check it and it said I could not use <br> in a table. Does this matter? Thanks<{POST_SNAPBACK}> You can use them in a table but the tag should now look like <br /> and it must be within the <td>and</td>I have attached the code which i ran through the W3 Validator with a strict DTD and was told This Page Is Valid XHTML 1.0 Strict! So you can definently use <br /> within a table.<?xml version="1.0"?><!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" xml:lang="en" lang="en"> <head><title></title></head><body><p>Hello World from an XHTML File.</p><table><tr><td><br /><br /><br /><br />1</td></tr></table></body></html> Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now