What is the proper/best syntax to use if I want to use an image for my Submit button on a Form?
Standard Way:
Code HTML4Strict:<input type="submit" name="addComment" id="addComment" value="Add a Comment"/>
My Way:
Code HTML4Strict:<a href="<?php echo WEB_ROOT . 'add_comment2.php' ?>"> <img src="<?php echo WEB_ROOT . 'buttons/AddAComment3.png' ?>" alt="Add a Comment" /> </a>
Someone's Suggested Way:
Code HTML4Strict:<input type="image" src="<?php echo WEB_ROOT . 'buttons/AddAComment3.png' ?>" />
Debbie



Reply With Quote








Bookmarks