Talk:HTML element
![]() | This article is written in American English, which has its own spelling conventions (color, defense, traveled) and some terms that are used in it may be different or absent from other varieties of English. According to the relevant style guide, this should not be changed without broad consensus. |
![]() | Computer science C‑class Mid‑importance | ||||||||||||||||
|
![]() | Computing: Software / Websites C‑class Low‑importance | |||||||||||||||
|
Nitrosyl bromide
At the top of the article it says "For the chemical compound, see Nitrosyl bromide". Why is this and what does that chemical have to do with HTML elements?109.149.80.240 (talk) 14:10, 24 October 2012 (UTC)
- It was added in July in this unexplained edit. There is no relationship between these two subjects (as far as I can tell). I'm removing it. Mindmatrix 15:50, 24 October 2012 (UTC)
- It's presumably a paste from a past article on the
<nobr>
tag (not part of standard HTML, but quite widely used). Delete it, it's an irrelevance here. Andy Dingley (talk) 16:59, 24 October 2012 (UTC)
- It's presumably a paste from a past article on the
- I put in a more self-explanatory hatnote. There should be one because if you are search for the article on the chemical and type "nobr" instead of "NOBr" (the chemical formula for nitrosyl bromide) you end up on this page instead of the one you were looking for. -- Beland (talk) 15:24, 24 June 2014 (UTC)
text overprints box
Hitting CTRL+++++... to increase the text size in one's Firefox 22 browser causes some lines to overprint the box at the right... Jidanni (talk) 01:21, 1 May 2013 (UTC)
- That's not a problem that is the fault of anyone except those that want to hit Ctrl++++++... If you've accidently done that and want to reset it to the "normal" font size so it fixes those issues, simply press Ctrl+0. — {{U|Technical 13}} (e • t • c) 15:59, 24 June 2014 (UTC)
List of "all" tags
The list of "all" tags needs to be updated:
- B does not define bold text in HTML5.
- DATA is missing.
- HGROUP is no longer part of HTML5.
- ISINDEX (and friends) is missing (since the table claims to include not only HTML5 tags...).
- MAIN is missing.
- SMALL doesn't define "smaller text" in HTML5.
If tags from 'obscure' specifications/drafts are to be listed as well, then there are a lot of missing elements: BANNER, TAB, FIG, OVERLAY, MATH, NOTE, FN (from HTML 3.0), DI (from XHTML 2.0), ... --Andreas Rejbrand (talk) 23:08, 21 August 2013 (UTC)
- I deleted this section since it also appears to be a copyright violation. -- Beland (talk) 15:11, 24 June 2014 (UTC)
- I restored the section as it is significantly different and http://tools.wmflabs.org/dupdet/compare.php?url1=https%3A%2F%2Fen.wikipedia.org%2Fw%2Findex.php%3Ftitle%3DHTML_element%26oldid%3D614074417&url2=http%3A%2F%2Fwww.w3schools.com%2Ftags%2Fdefault.asp&minwords=2&minchars=13 confirms to my satisfaction it is not a CV. — {{U|Technical 13}} (e • t • c) 15:49, 24 June 2014 (UTC)
Thank you for your suggestion. When you believe an article needs improvement, please feel free to make those changes. Wikipedia is a wiki, so anyone can edit almost any article by simply following the edit this page link at the top.
The Wikipedia community encourages you to be bold in updating pages. Don't worry too much about making honest mistakes—they're likely to be found and corrected quickly. If you're not sure how editing works, check out how to edit a page, or use the sandbox to try out your editing skills. New contributors are always welcome. You don't even need to log in (although there are many reasons why you might want to). Andreas, have fun! — {{U|Technical 13}} (e • t • c) 15:55, 24 June 2014 (UTC)
- If you use your eyes instead of the tool, https://en.wikipedia.org/w/index.php?title=HTML_element&oldid=614074417#List_of_all_HTML_elements is nearly a word-for-word copy of http://www.w3schools.com/tags/default.asp. There were other unrelated edits clobbered when this removal was reverting, so I'm restoring the previous version. -- Beland (talk) 17:33, 24 June 2014 (UTC)
- I'll also note that the list is redundant with the rest of the article, which already lists all elements, sorted into sections with explanations. -- Beland (talk) 17:35, 24 June 2014 (UTC)
- Beland, it's all basic information about the tags, all of which can be found on MDN's HTML developer guide (which uses CC-BY-SA 2.5, which is a compatible license). Since this information can't be copyrighted as it is already released under an open use (albeit attribution) license, there is no CV here. — {{U|Technical 13}} (e • t • c) 17:53, 24 June 2014 (UTC)
- Technical 13, I don't see where on developer.mozilla.org for example the phrase "Defines a comment" (from the first line of the table) appears. http://www.w3schools.com/tags/default.asp does not attribute any source, so if that table does exist on developer.mozilla.org under an attribution-required license, then w3schools.com has an unauthorized copy. It looks to me like the table is original to w3schools.com and is fully copyrighted by them. Though the content concerns the HTML 5 standard, just because that standard or its official documentation has a copyleft license doesn't mean any given book or web page about HTML 5 must also have a copyleft license. That would only be true in the case of substantial verbatim copying. -- Beland (talk) 18:21, 24 June 2014 (UTC)
- That's the whole point, it is not suppose to be verbatim "Defines a comment", that would be my summary of The Importance of Correct HTML Commenting. The table doesn't need to exist, the information in the table just needs to be available on the multitude of different pages (each row in the table has its own page on MDN). I don't see any of the formatting and the tool doesn't find any of the exact wording on w3schools of which the content there is common knowledge to anyone in the HTML world and the source upon which it is defined (the legal [=Any&pub_date_type=any rfc] documents for HTML) is actually open source to all. — {{U|Technical 13}} (e • t • c) 18:43, 24 June 2014 (UTC)
- Copyright only attaches to the exact words used to express an idea, not to the idea itself. So if we agree that the specific words that w3schools.com put into their table were written by them, then the copyright on that table text belongs to w3schools. It looks like w3schools does not use an open license, so their specific words cannot be copied into Wikipedia in their entirety. -- Beland (talk) 21:46, 24 June 2014 (UTC)
- W3schools shouldn't be used as any sort of source, they're just too regularly inaccurate. Also there's no need for any source here other than the canonical W3C. Andy Dingley (talk) 21:55, 24 June 2014 (UTC)
- Agreed. I've caught them in errors before, too. — SMcCandlish ☺ ☏ ¢ ≽ʌⱷ҅ᴥⱷʌ≼ 12:02, 12 June 2015 (UTC)
The DL element
Regarding this edit by SMcCandlish (talk · contribs) from thirteen months ago. The phrase "and called an association list in early versions of HTML5" which was added to the parenthesis is troubling me. The cited source says "The dl element represents an association list consisting of zero or more name-value groups (a description list)", so it doesn't support the claim for early versions, nor does it imply that the structure is termed a description list in preference to an association list.
The version of HTML 5 that was approved as a W3C Recommendation on 28 October 2014 says exactly the same thing. It's no different in HTML 5.1: the latest published version of the Working Draft, 17 April 2015 and of the Nightly Editor's Draft, 23 March 2015 both use the same wording again. If we go right back to the earliest published versions of HTML 5, Working Draft 22 January 2008, it says "The dl element introduces an unordered association list consisting of zero or more name-value groups (a description list)"; the next published version (Working Draft 10 June 2008) says "The dl element introduces an association list consisting of zero or more name-value groups (a description list)" - that is, the word "unordered" was removed; and in the version after that (Working Draft 12 February 2009), the word "introduces" was replaced by "represents", and so it took on the present wording at that point. So it's not that it was "called an association list in early versions of HTML5" - it always has been called an association list in those versions of HTML5 that are readily available.
Therefore, I think that the first sentence of the paragraph should be simplified to
- An association list (or description list) consisting of name–value groups[1] (known as a definition list prior to HTML5).[2]
References
- ^ "4.5 Grouping content — HTML5". World Wide Web Consortium. Retrieved 22 May 2013.
- ^ "Lists in HTML documents". HTML 4.01 Specification W3C Recommendation. 24 December 1999. 10.3 Definition lists: the DL, DT, and DD elements. Retrieved 2 May 2015.
notice the extra ref, for the wording of HTML 4.01. --Redrose64 (talk) 12:49, 2 May 2015 (UTC)
- "Troubling" seems a bit hyperbolic. There's probably an easy way, e.g. with Archive.org, to dig up old versions of HTML5. The present version of the DL entry in the HTML5 spec says "The dl element represents a description list.", with no mention of "association list". — SMcCandlish ☺ ☏ ¢ ≽ʌⱷ҅ᴥⱷʌ≼ 20:08, 3 May 2015 (UTC)
- That's a W3C Working Group Note, i.e. an abandoned project (see Ending Work on a Technical Report or Publishing a Working Group or Interest Group Note). But we shouldn't need an archive site: W3C have permalinks to all but the "Nightly editors draft" pages, and I gave some above. They're the ones with dates (formatted CCYYMMDD) in the URLs, like http://www.w3.org/TR/2008/WD-html5-20080122/#the-dl There's a list up to and including 17 December 2012 at HTML5 W3C Candidate Recommendation 17 December 2012; there have been seven subsequent versions, finishing with HTML5 W3C Recommendation 28 October 2014. --Redrose64 (talk) 21:01, 3 May 2015 (UTC)
- @Redrose64: OK, though I would go with:
- A description list (a.k.a. association list) consisting of name–value groups ...
- Regardless of the order in which these terms appear in whatever version of whichever spec we're looking at, virtually everyone knows these as description lists (if not definition lists, which seems to be deprecated/abandoned terminology), and it corresponds to the names of the elements. Maybe they'll rename them to
<al>
,<at>
, and<ad>
someday, but I doubt it. :-) Changed "or" to "a.k.a.", since "or" can be ambiguous in such constructions (implying two different things instead of two names for the same thing). Not anticipating an objection, I stuck that in, with some more consistent citation formatting. — SMcCandlish ☺ ☏ ¢ ≽ʌⱷ҅ᴥⱷʌ≼ 11:59, 12 June 2015 (UTC)
- @Redrose64: OK, though I would go with:
- That's a W3C Working Group Note, i.e. an abandoned project (see Ending Work on a Technical Report or Publishing a Working Group or Interest Group Note). But we shouldn't need an archive site: W3C have permalinks to all but the "Nightly editors draft" pages, and I gave some above. They're the ones with dates (formatted CCYYMMDD) in the URLs, like http://www.w3.org/TR/2008/WD-html5-20080122/#the-dl There's a list up to and including 17 December 2012 at HTML5 W3C Candidate Recommendation 17 December 2012; there have been seven subsequent versions, finishing with HTML5 W3C Recommendation 28 October 2014. --Redrose64 (talk) 21:01, 3 May 2015 (UTC)
What about HTML5 tags?
The new layout tags in HTML5 are not present, nor are any other new HTML5 tags. Could someone please find and add them, or provide a reason why they are not here?
Also, I can't find the
<mark>...</mark>
tag. Is it deprecated or nonstandard? — Preceding unsigned comment added by AnAwesomeArticleEditor (talk • contribs) 21:43, 22 April 2016 (UTC)
Article needs a lot of work
This article needs a lot of work. A large portion of it is written like a tech manual - so please see what Wikipedia is not. There is no intro. And this article is for writing about the topic based on sources. For the most part I don't see this happening here. Please, bring this into agreement with the WP:MOS. Steve Quinn (talk) 19:33, 19 September 2016 (UTC)
Added a new section
I added a new section to the article entitled "Various elements". Feel free to revert if this is not acceptable. Steve Quinn (talk) 21:22, 19 September 2016 (UTC)
Elements vs. tags
In this section is paragraph ""Elements" and "tags" are terms that are widely confused. HTML documents contain tags, but do not contain the elements. The elements are only generated after the parsing step, from these tags."
I really do not ever hear that. Please source that or delete. Every source I found talks the opposite:
- https://developer.mozilla.org/en-US/docs/Glossary/HTML
- https://www.w3.org/TR/html51/syntax.html#syntax (last paragraph) — Preceding unsigned comment added by 94.143.171.33 (talk) 18:46, 11 March 2017 (UTC)
- I second that. This dubious claim has to be either properly sourced oder removed. It confuses users who wish to understand the difference between tags and elements. 2003:6:33B6:D895:B9A1:8144:44FD:DBB2 (talk) 15:11, 26 August 2017 (UTC)
Move towards "List of HTML tags"
Some recent changes seem to be moving this article away from being a description of HTML elements, to being a list of all HTML tags. I see this as a very bad move. We do not need such a list: it is less encyclopedic and also duplicates far better primary sources already out there, such as the W3C and innumerable web tutorials (of varying quality). More importantly though, it dilutes the quality of this important article, which is on the concept of elements, rather than tags, and on their concept, rather than listing those defined. Andy Dingley (talk) 14:19, 23 August 2017 (UTC)
- So what are the criteria for inclusion/exclusion? - dcljr (talk) 17:39, 23 August 2017 (UTC)
- Being an encyclopedic article on the concept of the element, rather than duplicating any number of pre-existing sites by just listing tags, with no discussion of their meaning. The start of this article is useful, almost everything after §Lists (with a few exceptions) is just listcruft. I'm not averse to such a slab of repeated, unsourced listery, but it doesn't belong in this article. Andy Dingley (talk) 18:36, 23 August 2017 (UTC)
- The problem is, if we're going to, say, warn editors against adding unnecessary information to the article, there should be a clear, logical guideline for them to follow. It seems that "theoretically" one could be promulgated in this case, it just hasn't been (AFAIK). - dcljr (talk) 02:57, 24 August 2017 (UTC)
- Being an encyclopedic article on the concept of the element, rather than duplicating any number of pre-existing sites by just listing tags, with no discussion of their meaning. The start of this article is useful, almost everything after §Lists (with a few exceptions) is just listcruft. I'm not averse to such a slab of repeated, unsourced listery, but it doesn't belong in this article. Andy Dingley (talk) 18:36, 23 August 2017 (UTC)
- Wikipedia articles that use American English
- C-Class Computer science articles
- Mid-importance Computer science articles
- WikiProject Computer science articles
- C-Class Computing articles
- Low-importance Computing articles
- C-Class software articles
- Mid-importance software articles
- C-Class software articles of Mid-importance
- All Software articles
- C-Class Websites articles
- High-importance Websites articles
- C-Class Websites articles of High-importance
- All Websites articles
- All Computing articles