Jump to content

PhilOfPerth

Members
  • Posts

    15
  • Joined

  • Last visited

Posts posted by PhilOfPerth

  1. @ danshafer

    i agree with your report. I had also found the error you noted and came here to investigate it.

    @davej

    The text between the <meter> and </meter> tags (i.e. 2 out of 10 in the demo) doesn't display.

    (not the fallback text)

     

    <meter value="2" min="0" max="10">2 out of 10</meter>

  2. I have noticed that when the slice() method is used with negative index parameters, the first index counts the end of the string as -1, while the second counts it as 0. This is not noted in the W3C tutorial. Is this intended, or is it a bug?

    For example, if word="abcdefg" then slice.word(-5,-3) gives "cd" and not "cde" as I would expect.

  3. Nice one, callumacrae.I'd never heard of :before and :after or not or {first-child until this topic. You just opened some new windows for me with this example. :Pleased: Where do we find things like the not{:first-child and similar magic? I've never seen them in the several books or tutorials I've read.

  4. The actual difference between <p></p> and <br> is that <p> indicates that the text is a paragraph while <br> tells the browser to put a line break there.
    Ah, now I see it... the break is an "empty tag" which just does its thing, no ifs or buts, and you can't do much else with it, whereas a paragraph can be styled to do all sorts of things.(but the question remains, does paragraph, by default, leave a blank line, as W3Schools states? It doesn't on my machine).
  5. The W3Schools pages say that the HTML <p> </p> set of tags give a line feed plus an empty line between paragraphs. I've tried on Firefox and IE and both of these act exactly the same for these tags as for a <br /> tag. Is there a difference?

  6. Hi there. I'm Phil from Perth, Western AustraliaMy name's Philip (Phil) Taylor.I'm an old Pommie guy, but I live in Perth, Western Australia. I've been playing around with HTML for a while but would like to learn to "do it proper", which is why I'm here. I want to learn how to use HTML5 and CSS correctly, and then maybe Javascript.I enjoy reading the Forum comments, and I've found the Tutorials an immense help, so I guess I'm here for a while. Pets: A cat, Latte (who thinks he's a dog, but may be dyslexic because sometimes he thinks he's a god), and a dog, Pepper (who tries to fix Latte's dyslexia by frightening him half to death). Update: Because Latte is a cat, he feels he's "top of the wozza" so we now call him King Latte. Pepper, the dog, had to have a title as well, so he's now Sultan Pepper (think about it).Interests: HTML, CSS, BASIC programming (yes, it's still around... Try QB64) and brass band music.Fav movies: Life of Brian - best comedy ever, Cool Hand Luke, Ben Hur (does my age show?), Cuckoo's Nest.

×
×
  • Create New...