looking for sentence types, not headers or lines
Hi!
Here are some of my use of h1 and h2 text.
<h1>Dale's Website</h1>
<h2 style="color: #818285;">Discovering Metaphysics ...</h2>
I found that I can use h1 to h6 text.
What are options for non-header text?
I have been mainly using <p> paragraph style.
I saw p1,p2,p3 on W3 Schools. How many <p> styles are there?
https://www.w3schools.com/css/css_font.asp
I am kind of confused about using a paragraph style for a line style.
I have some of my edited PDF files I am changing to HTML.
I have some PDF files that I didn't edit that I will have to do
something like change them to .jpeg/etc.
Dale wrote
looking for sentence types, not headers or lines
If that’s what you really want, use <span> with a suitable class.
Example: <span class=sentence>Hello world!</span>
There is no sentence concept in HTML, so to make a sentence an element
(and hence styleable), you need to use inline (text-level) markup, and
<span> is the inline element with no defined meaning (and no default
effect on styling).
I don’t quite see what you would do with markup and styling for
sentences, though.
If your real question is still different, try asking it concisely with a concrete example (piece of text and description of desired stylistic effects).
On 3/5/2022 3:04 PM, Jukka K. Korpela wrote:
Dale wrote
looking for sentence types, not headers or lines
If that’s what you really want, use <span> with a suitable class.
Example: <span class=sentence>Hello world!</span>
There is no sentence concept in HTML, so to make a sentence an element
(and hence styleable), you need to use inline (text-level) markup, and
<span> is the inline element with no defined meaning (and no default
effect on styling).
I don’t quite see what you would do with markup and styling for
sentences, though.
If your real question is still different, try asking it concisely with a
concrete example (piece of text and description of desired stylistic
effects).
if you are going to have a paragraph shouldn't there be sentences?
HTML6?
I saw p1,p2,p3 on W3 Schools. How many <p> styles are there?
https://www.w3schools.com/css/css_font.asp
I am kind of confused about using a paragraph style for a line style.
What are options for non-header text?
AFAIK, HTML has no "p1" element type name, but you can
use »<p class="p1"« to achieve something very similar to
what might be intended with »<p1«.
ram@zedat.fu-berlin.de (Stefan Ram) writes:
AFAIK, HTML has no "p1" element type name, but you can
use »<p class="p1"« to achieve something very similar to
what might be intended with »<p1«.
<h1>alpha</h1>
<h2>beta</h2>
<p>text</p>
The above is possible. It has a hierarchy of one chapter
"alpha" with a section "beta" nested. Maybe sometimes one
wants to hierarchically nest paragraphs in a similar way:
<p1>alpha</p1>
<p2>beta</p2>
<p3>text</p3>
. This is not possible in HTML, but what we can write is:
<dl><dt>alpha</dt><dd><dl>
<dt>beta</dt>
<dd>text</dd></dl></dd></dl>
.
<h1>Dale's Website</h1>
<h2 style="color: #818285;">Discovering Metaphysics ...</h2>
I found that I can use h1 to h6 text.
What are options for non-header text?
I have been mainly using <p> paragraph style.
I saw p1,p2,p3 on W3 Schools. How many <p> styles are there?
https://www.w3schools.com/css/css_font.asp
I am kind of confused about using a paragraph style for a line style.
I have some of my edited PDF files I am changing to HTML.
There is no "paragraph style".
Styles can be applied to HTML elements.
There are inline HTML elements and block leven HTML elements.
Elements like h1...h6, p, div are block level elements because the
create an new block in the document.
Elements like em, b, span are inline elements as the only apply to text inside a block.
In message <j8kc3oF8gorU1@mid.individual.net> Arno Welzel <usenet@arnowelzel.de> wrote:
There is no "paragraph style".
Sure there is. It is the styling that browsers apply to <p></p> blocks.
Lewis:
In message <j8kc3oF8gorU1@mid.individual.net> Arno Welzel <usenet@arnowelzel.de> wrote:
There is no "paragraph style".
Sure there is. It is the styling that browsers apply to <p></p> blocks.
This is not a "style" - <p> is the *element* and it has some default
style propertites.
But there is no CSS rule for "make it look like a <p> element" and
therefore no "paragraph style". CSS just provides styles which are
applied to elements.
On 3/7/2022 4:55 AM, Arno Welzel wrote:
Lewis:
In message <j8kc3oF8gorU1@mid.individual.net> Arno Welzel <usenet@arnowelzel.de> wrote:
There is no "paragraph style".
Sure there is. It is the styling that browsers apply to <p></p> blocks.
This is not a "style" - <p> is the *element* and it has some default
style propertites.
But there is no CSS rule for "make it look like a <p> element" and
therefore no "paragraph style". CSS just provides styles which are
applied to elements.
At one time, Mozilla browsers -- Firefox and SeaMonkey -- had built-in default styles for all HTML elements. The Mozilla Web site contained a
huge CSS file where anyone could see those defaults. That CSS file was
not a separate part of the installed browser. Instead, the styles were internal to the browser. I do not know if this is still true.
Lewis:
In message <j8kc3oF8gorU1@mid.individual.net> Arno Welzel <usenet@arnowelzel.de> wrote:
There is no "paragraph style".
Sure there is. It is the styling that browsers apply to <p></p> blocks.
This is not a "style" - <p> is the *element* and it has some default
style propertites.
But there is no CSS rule for "make it look like a <p> element"
David E. Ross:
At one time, Mozilla browsers -- Firefox and SeaMonkey -- had built-in default styles for all HTML elements. The Mozilla Web site contained a huge CSS file where anyone could see those defaults. That CSS file was
not a separate part of the installed browser. Instead, the styles were internal to the browser. I do not know if this is still true.
This is still the case, every HTML element has a set of default styles.
You can easily examine this by using the "web developer tools" in
Firefox or Chrome.
For example in Chromium based browsers:
p {
display: block;
margin-block-start: 1em;
margin-block-end: 1em;
margin-inline-start: 0px;
margin-inline-end: 0px;
}
This is still the case, every HTML element has a set of default styles.
You can easily examine this by using the "web developer tools" in
Firefox or Chrome.
For example in Chromium based browsers:
p {
display: block;
margin-block-start: 1em;
margin-block-end: 1em;
margin-inline-start: 0px;
margin-inline-end: 0px;
}
What have I to do to see that? “use” the web developer tools is a bit fuzzy.
In message <j8mdlaFke1aU1@mid.individual.net> Arno Welzel <usenet@arnowelzel.de> wrote:
Lewis:
In message <j8kc3oF8gorU1@mid.individual.net> Arno Welzel <usenet@arnowelzel.de> wrote:
There is no "paragraph style".
Sure there is. It is the styling that browsers apply to <p></p> blocks.
This is not a "style" - <p> is the *element* and it has some default
style propertites.
There is a paragraph style, it is the style that is used with the <p>
tag.
But there is no CSS rule for "make it look like a <p> element"
Of course there is.
This is the <p> style:
display: block;
margin: 1em 0 1em 0;
On Mon, 7 Mar 2022, Arno Welzel wrote:
David E. Ross:
At one time, Mozilla browsers -- Firefox and SeaMonkey -- had built-in
default styles for all HTML elements. The Mozilla Web site contained a
huge CSS file where anyone could see those defaults. That CSS file was
not a separate part of the installed browser. Instead, the styles were
internal to the browser. I do not know if this is still true.
This feature is at the same time very useful and very awkward for beginners who want to produce readable nice-looking web pages – not fancy ones with all
gimmicks – without studying more details of CSS than they need for the purpose:
– It is useful because the default styles are a good starting point. If you
write no CSS at all, you get already a web page looking somewhat
old-fashioned but readable. <p> or <ul> have default styles that do the job
well.
– It is awkward because *if* you write CSS (e.g. for tables where the default
style will not work for all the different types of tables), your
specifications mix with the specifications of the default style. So you are
in fact forced to specify *all* possible parameters lest you be surprised
by their default values.
This is still the case, every HTML element has a set of default styles.
You can easily examine this by using the "web developer tools" in
Firefox or Chrome.
For example in Chromium based browsers:
p {
display: block;
margin-block-start: 1em;
margin-block-end: 1em;
margin-inline-start: 0px;
margin-inline-end: 0px;
}
What have I to do to see that? “use” the web developer tools is a bit fuzzy.
On Mon, 7 Mar 2022, Arno Welzel wrote:
For example in Chromium based browsers:
p {
display: block;
margin-block-start: 1em;
margin-block-end: 1em;
margin-inline-start: 0px;
margin-inline-end: 0px;
}
What have I to do to see that? “use” the web developer tools is a bit fuzzy.
Lewis:
In message <j8mdlaFke1aU1@mid.individual.net> Arno Welzel <usenet@arnowelzel.de> wrote:
Lewis:
In message <j8kc3oF8gorU1@mid.individual.net> Arno Welzel <usenet@arnowelzel.de> wrote:
There is no "paragraph style".
Sure there is. It is the styling that browsers apply to <p></p> blocks.
This is not a "style" - <p> is the *element* and it has some default
style propertites.
There is a paragraph style, it is the style that is used with the <p>
tag.
No - the other way around: paragraphs have styles.
But there is no CSS rule for "make it look like a <p> element"
Of course there is.
No.
This is the <p> style:
display: block;
margin: 1em 0 1em 0;
No - this is not "make me it like a <p> element". This is just, what it
says: use block layout and specific margins. And if <p> looks the same
like this style even depends on the browser.
In message <j8pf60F7sb9U2@mid.individual.net> Arno Welzel <usenet@arnowelzel.de> wrote:[...]
Lewis:
This is the <p> style:
display: block;
margin: 1em 0 1em 0;
No - this is not "make me it like a <p> element". This is just, what it
says: use block layout and specific margins. And if <p> looks the same
like this style even depends on the browser.
Feel free to wallow in your willful ignorance. Good luck with that.
Lewis:
In message <j8pf60F7sb9U2@mid.individual.net> Arno Welzel <usenet@arnowelzel.de> wrote:[...]
Lewis:
This is the <p> style:
display: block;
margin: 1em 0 1em 0;
No - this is not "make me it like a <p> element". This is just, what it
says: use block layout and specific margins. And if <p> looks the same
like this style even depends on the browser.
Feel free to wallow in your willful ignorance. Good luck with that.
Same to you. You will no find any part in the specification of CSS which defines "paragraph style".
On 3/10/2022 9:16 AM, Arno Welzel wrote:
Lewis:
In message <j8pf60F7sb9U2@mid.individual.net> Arno Welzel <usenet@arnowelzel.de> wrote:[...]
Lewis:
This is the <p> style:
display: block;
margin: 1em 0 1em 0;
No - this is not "make me it like a <p> element". This is just, what it >>>> says: use block layout and specific margins. And if <p> looks the same >>>> like this style even depends on the browser.
Feel free to wallow in your willful ignorance. Good luck with that.
Same to you. You will no find any part in the specification of CSS which
defines "paragraph style".
As cited earlier in this thread, each browser has its own default
paragraph "style", which is not in any CSS file, header element, or
I use quotes above because the defaults are NOT CSS styles.
ram@zedat.fu-berlin.de (Stefan Ram) writes:
... we can write
<dl><dt>alpha</dt><dd><dl>
<dt>beta</dt>
<dd>text</dd></dl></dd></dl>
...
On 3/6/2022 4:38 AM, Stefan Ram wrote:
ram@zedat.fu-berlin.de (Stefan Ram) writes:
... we can writemultiple tabs?
<dl><dt>alpha</dt><dd><dl>
<dt>beta</dt>
<dd>text</dd></dl></dd></dl>
...
<br> in between?
On 3/11/2022 9:48 AM, Dale wrote:
On 3/6/2022 4:38 AM, Stefan Ram wrote:
ram@zedat.fu-berlin.de (Stefan Ram) writes:multiple tabs?
... we can write
<dl><dt>alpha</dt><dd><dl>
<dt>beta</dt>
<dd>text</dd></dl></dd></dl>
...
<br> in between?
Not tabs at all.
The element <dl> </dl> is for a list of definitions. The element <dt>
</dt> contains a term being defined. The element <dd> </dd> contains a definition. To see an example, see my <http://www.rossde.com/internet/intr_gloss.shtml>.
On 3/11/2022 3:38 PM, David E. Ross wrote:
On 3/11/2022 9:48 AM, Dale wrote:
On 3/6/2022 4:38 AM, Stefan Ram wrote:
ram@zedat.fu-berlin.de (Stefan Ram) writes:multiple tabs?
... we can write
<dl><dt>alpha</dt><dd><dl>
<dt>beta</dt>
<dd>text</dd></dl></dd></dl>
...
<br> in between?
Not tabs at all.
The element <dl> </dl> is for a list of definitions. The element <dt> </dt> contains a term being defined. The element <dd> </dd> contains a definition. To see an example, see my <http://www.rossde.com/internet/intr_gloss.shtml>.
Thank you.
I know how to use a style to text-align center, left, or right.
I'm looking for how to use tabs
within these I would like to use something like <br>
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 418 |
Nodes: | 16 (2 / 14) |
Uptime: | 34:23:56 |
Calls: | 8,809 |
Calls today: | 5 |
Files: | 13,304 |
Messages: | 5,971,247 |