Help talk:HTML in wikitext

{{WikiProject banner shell|

{{Wikipedia Help Project|class=NA|importance=low}}

}}

{{Archives}}

Merge from [[WP:Span tags]]

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)

{{tag|br|o}} vs. {{tag|br|s}} vs. {{tag|br|c}}. (One concept inserted in the middle of another doesn't help.)

These sentences must confuse many readers.

"{{tag|br|o}} or {{tag|br|s}} inserts a line break. Both versions of the break are supported by HTML5. {{tag|br|c}} is invalid. Using {{tag|br|o}} without the / breaks syntax highlighting, so should be avoided."

The last sentence should follow the first two. This will be more easily understood.

"{{tag|br|o}} or {{tag|br|s}} inserts a line break. Both versions of the break are supported by HTML5. Using {{tag|br|o}} without the / breaks syntax highlighting, so should be avoided. Use {{tag|br|o}}. {{tag|br|c}} is invalid. Do not use it." ... PeterEasthope (talk) 15:17, 4 April 2020 (UTC)

:Good call. Changed. – Jonesey95 (talk) 17:05, 4 April 2020 (UTC)

::Shouldn't that be "Use {{tag|br|s}}" and not "Use {{tag|br|o}}"? The second contradicts the preceding sentence. --Redrose64 🌹 (talk) 22:09, 4 April 2020 (UTC)

:::Sorry, I should have [https://en.wikipedia.org/w/index.php?title=Help%3AHTML_in_wikitext&type=revision&diff=949088928&oldid=937348844 linked to a diff]. I implemented the proposed change "The last sentence should follow the first two", not the proposed text, which was redundant and internally inconsistent. – Jonesey95 (talk) 03:55, 5 April 2020 (UTC)

Small tag

The reason not to use {{tag|small}} is not because it renders differently in browsers (that's true of a lot of tags) but because it [https://en.wikipedia.org/w/index.php?title=Help%3AHTML_in_wikitext&action=historysubmit&type=revision&diff=965159376&oldid=960762732 has a semantic meaning]. See also MOS:SMALL. ―Justin (koavf)TCM 18:56, 29 June 2020 (UTC)

How to stop wikitext from interfering with HTML

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 • TalkContribs 17:08, 4 July 2020 (UTC)

:{{u|Berrely}}, you can't have full HTML pages in MediaWiki (both for security and WP:NOTWEBHOST reasons) - to achieve what you're trying to do, you can make a user script (where you add all the code between the