Earlier quoted context omitted.
I thought the whole point of XML tags coming in named pairs was so you could be helpfully told which tag wasn't closed?
XHTML was a move by Big CMS to make edit-and-FTP error prone. Before that you rarely had to care whether the tag was closed.
My daughter (7 years old) used HTML to make a website
151–160 of 547 posts
Re: My daughter (7 years old) used HTML to make a website
#152This is adorable and made me feel good! I learned something about cats too. Thank you for sharing.
Re: My daughter (7 years old) used HTML to make a website
#153This is adorable and made me feel good! I learned something about cats too. Thank you for sharing.
Re: My daughter (7 years old) used HTML to make a website
#154Earlier quoted context omitted.
> No need for / in HTML I personally prefer having the /> even though it's not necessary, so that I can tell at-a-glance whether a tag is self-closing or not. It doesn't hurt, does it? (plus I'm just used to it because the book I learned HTML from was confident that XHTML was the future)
I reckon it does hurt, beyond the negligible cost of the extra transferred and parsed bytes: it teaches something that’s simply incorrect, and doesn’t do what people often think it does. ① The trailing slash doesn’t make a tag self-closing. All it does is get ignored, emitting a parse error (which in common compiler terms is just a warning) if you use it on a non-void tag. You can’t use . You can’t use . The only tag…
Re: My daughter (7 years old) used HTML to make a website
#155Re: My daughter (7 years old) used HTML to make a website
#156This is adorable and made me feel good! I learned something about cats too. Thank you for sharing.
As the father of a six year-old girl, the cheetahs page made total sense to me. My daughter likes to play "Name this animal" with me, where she describes the animal and I have to guess what it is. Why are six and seven year-old girls obsessed with cheetahs?, I ask myself. My guess is that it's because they are the fastest animals.
Re: My daughter (7 years old) used HTML to make a website
#157Re: My daughter (7 years old) used HTML to make a website
#158(from the dedication page in SICP:)
“I think that it’s extraordinarily important that we in computer science keep fun in computing. When it started out, it was an awful lot of fun. Of course, the paying customers got shafted every now and then, and after a while we began to take their complaints seriously. We began to feel as if we really were responsible for the successful, error-free perfect use of these machines. I don’t think we are. I think we’re responsible for stretching them, setting them off in new directions, and keeping fun in the house. I hope the field of computer science never loses its sense of fun. Above all, I hope we don’t become missionaries. Don’t feel as if you’re Bible salesmen. The world has too many of those already. What you know about computing other people will learn. Don’t feel as if the key to successful computing is only in your hands. What’s in your hands, I think and hope, is intelligence: the ability to see the machine as more than when you were first led up to it, that you can make it more.” ~Alan J. Perlis (April 1, 1922 – February 7, 1990)
Re: My daughter (7 years old) used HTML to make a website
#159Ah, kids these days!