![]() | This help page does not require a rating on Wikipedia's content assessment scale. It is of interest to the following WikiProjects: | ||||||||||
|
|
|
Seems there was consensus at Wikipedia:Miscellany for deletion/Wikipedia:Span tags to merge that content into here if someone wants to take up the task. -- Ϫ 12:21, 22 March 2010 (UTC)
<br>
vs. <br />
vs. </br>
. (One concept inserted in the middle of another doesn't help.)These sentences must confuse many readers.
"<br>
or <br />
inserts a line break. Both versions of the break are supported by HTML5. </br>
is invalid. Using <br>
without the /
breaks syntax highlighting, so should be avoided."
The last sentence should follow the first two. This will be more easily understood.
"<br>
or <br />
inserts a line break. Both versions of the break are supported by HTML5. Using <br>
without the /
breaks syntax highlighting, so should be avoided. Use <br>
. </br>
is invalid. Do not use it." ... PeterEasthope (talk) 15:17, 4 April 2020 (UTC)
<br />
" and not "Use <br>
"? The second contradicts the preceding sentence. --Redrose64 🌹 (talk) 22:09, 4 April 2020 (UTC)
The reason not to use <small>...</small>
is not because it renders differently in browsers (that's true of a lot of tags) but because it has a semantic meaning. See also MOS:SMALL. ―Justin (koavf)❤T☮C☺M☯ 18:56, 29 June 2020 (UTC)
I'm attempting to make a live clock with HTML here, but MediaWiki's wikitext keeps messing up the code by using {{}} etc. How can I stop this? (tbh if someone could also help me with the clock it would be much appreciated). — Yours, Berrely • Talk∕Contribs 17:08, 4 July 2020 (UTC)
<span id="txt"></span>
Ed6767 talk! 23:22, 4 July 2020 (UTC)
Please see: Wikipedia:Templates for discussion/Log/2020 December 3#Template:Hover title and Template:Tooltip
Summary:
{{Abbr}}
(a wrapper for <abbr>...</abbr>
) has long been abused for non-abbreviation markup (against the HTML specs).{{Tooltip}}
, with <span>...</span>
for non-abbreviation use, but it was "merged" (not really) and redirected to {{Abbr}}
.{{Hover title}}
was created to do the same thing, but with backwards parameters (and some additional features).{{Tooltip}}
then-redirect and {{Hover title}}
template have been transcluded in tens of thousands of articles, mainly via infoboxes and other templates.{{Tooltip}}
template, with all the features of {{Hover title}}
but preserving the {{Abbr}}
parameter order (to not break deployed translcusions).{{Hover title}}
, but it's going to require flipping the |1=
and |2=
parameters of its extant instances.— SMcCandlish ☏ ¢ 😼 00:25, 4 December 2020 (UTC)
In viewing §§ bdi, it does not appear to do anything in the example given. The text describes <bdi>
in that it isolates the content from the surrounding text-direction settings
, but there are no text-direction settings shown for the example to demonstrate. — CJDOS, Sheridan, OR (talk) 22:46, 14 August 2021 (UTC)
Help:HTML in wikitext#Basic has a section on <br> and variants.
Please see Help talk:Line-break handling#Let us ignore syntax highlighters that do not accept <br>
It is a detailed discussion with participation from editors, developers, admins, etc.. Most people in that thread want <br> used, not <br />.
See also: KISS principle.
See also MOS:MARKUP: "Other things being equal, keep markup simple. This makes wikitext easier to understand and edit, and the results seen by the reader more predictable. Use HTML and CSS markup sparingly." --Timeshifter (talk) 08:49, 11 February 2023 (UTC)
</button>
Does this create a button according to HTML? Lindo Kabini (talk) 10:32, 7 January 2024 (UTC)
button
element) may not be used in Wikipedia, which is why it is not mentioned at Help:HTML in wikitext. --Redrose64 🌹 (talk) 19:47, 8 January 2024 (UTC)
Notice all the dashes on the page Beerware, I was thinking wrapping these in a span tag to stop these from being read, even though screen readers probably know to skip long lines I just think its good practice. Anyway are you meant to wrap them in span tags like that here in Wikitext? Anthony2106 (talk) 07:45, 5 March 2025 (UTC)
<span style="speak:never;">...</span>
. --Redrose64 🌹 (talk) 18:10, 5 March 2025 (UTC)