Code: Select all
*.TEXT-BOLD
{
FONT-WEIGHT: bold;
}
For some reason, HTML5 it doesn't work. Only tag that seems to work is
Code: Select all
<strong>
What is the CSS style for bold text for HTML5?
Code: Select all
*.TEXT-BOLD
{
FONT-WEIGHT: bold;
}
Code: Select all
<strong>
Code: Select all
<p>This is a test of <span style="font-weight: bold">bold</span>.</p>.
Hello,
Code: Select all
<table class="WIDTH85P TABLE-CENTERED BACKGROUND-COLOR-LIGHT-GRAY TABLE-CELLPADDING-15PX">
<tr class="TEXT-ALIGN-VERTICAL-TOP">
<th>
<div class="TEXT-ALIGN-CENTER TEXT-HEADER">EWATV Privacy Policy</div>
<br>
<div class="TEXT-ALIGN-LEFT TEXT-SIZE-18PX">
<strong>What information do we collect?</strong>
<br><br>
We collect information from you when you register on our site, subscribe to our newsletter, respond to a survey, or fill out a form.
<br><br>
When ordering or registering on our site, as appropriate, you may be asked to enter your name, e-mail address, mailing address, or
phone number. You may, however, visit our site anonymously.
<br><br>
<strong>What do we use your information for?</strong>
<br><br>
Code: Select all
<strong>
Code: Select all
<strong>
Hello,paulp575 wrote: ↑Fri Aug 21, 2020 10:00 pm Didn't realize my HTML was using tag improperly!
How's this for better use of HTML:
Web page: https://ewatv.org/Privacy-Policy.htm
Stylesheet: https://ewatv.org/z-EWATV-styles.css
Please let me know if you see anything else that should be fixed.
Thanks,
Code: Select all
main
Code: Select all
main
Code: Select all
table
It's definitely possible that replacing your main table with <main> will result in better rendering on mobile devices... but it probably depends on a lot of factors especially your CSS. Using <main> and the other new HTML5 semantic elements will also help with accessibility.MDN web docs wrote:The HTML <main> element represents the dominant content of the <body> of a document. The main content area consists of content that is directly related to or expands upon the central topic of a document, or the central functionality of an application.
judging by the fact that you never wrote back your experiment concluded as successOkay - thanks for the information.
Will have to try it on a single page (I've got 15 pages for out new site - so far).