Jump to content

Kynikos

Members
  • Content Count

    3
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Kynikos

  • Rank
    Newbie
  1. You make a point about the redundancy in that particular use case, but: 1) w3.org's specifications for HTML 5 http://www.w3.org/TR/html5/document-metadata#the-base-element and HTML 4.01 http://www.w3.org/TR/html401/struct/links.html#h-12.4 use full URLs in the examples, so currently I see an inconsistency. https://html.spec.whatwg.org/multipage/semantics.html#the-base-element uses full URLs too. 2) Suggesting to use a full URL (not necessarily to the current page) prevents the bugs reported in the stackoverflow discussion I linked in the OP; suggesting to use a directory URL has no advant
  2. I've already modified https://developer.mozilla.org/en-US/docs/Web/HTML/Element/base and the edit hasn't been reverted, so I guess it's ok. What can we do to have the w3schools.com example fixed too?
  3. According to http://www.w3.org/TR/html5/document-metadata.html#the-base-element shouldn't the example in http://www.w3schools.com/tags/tag_base.asp have a base tag that points to the current page (not just the directory)? That would solve some problems with link fragments and query strings as outlined in e.g. http://stackoverflow.com/questions/1889076/is-it-recommended-to-use-the-base-html-tag EDIT: This is a possible way I'd modify the example: <head><base href="http://www.w3schools.com/page.html'>http://www.w3schools.com/page.html" target="_blank"></head><body&g
×
×
  • Create New...