<a> element in within block-level elements?
Hello,
I'm a guy to learned a little bit of HTML a few years ago (for my degree in IT), and now am starting to transition my job into web development. I'm basically starting from scratch.
I was reading the Beginning Web Programming with HTML, XHTML, and CSS, 2nd Edition ISBN: 978-0-470-25931-3 book and page 73 gave me a head-scratcher. I'm wondering why Strict HTML 1.0 requires the <a> tag to be within a block-level element?
The reason I ask, is that if I just want to code a simple link in Strict HTML 1.0, I have to create a block-level element to encompass it? Wouldn't the block-level tag put the text in its own block of text?
Thanks in advance for some insight,
Eddie
Last edited by steddie1; December 30th, 2008 at 11:37 AM..
|