Hello Everyone,
HTML5 currently has a lot of tags which are for text markup like abbr, address, b, bdi, bdo, blockquote, caption, cite, h1 to h6, ins, label, p, pre, q, s, small, strong, sub, sup, etc. Each of them contributes to their own significance in the markup. None of them for a general text markup which can be used for some miscellaneous purpose like username in the sidebar. It can’t be treated as a heading, nor a p and neither as a span (which is used for styling a part of the text in a section).
For this, I propose a plain and general text tag named text. It will be a tag which can be used for any text which can’t be fitted in any above-mentioned tags. For example, now if I want to create a plain text markup for username, I’d simply create, Ishaan Rawat It would be an inline tag and would not format the text in any way just like many other tags, instead will make it more readable in the markup. The for attribute can be used to tell the purpose of the tag (which may be used for accessibility purpose also)
Now, I see this as a new way to style text of similar kinds like, text[for=“username”] { font-weight: bold; font-size: 2em; }
Let me know if this sounds good or not.