• text types?

    From Dale@21:1/5 to All on Sat Mar 5 13:56:25 2022
    XPost: alt.html, comp.infosystems.www.authoring.stylesheets

    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.


    --
    Mystery? -> https://www.dalekelly.org/

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Jukka K. Korpela@21:1/5 to Dale on Sat Mar 5 22:04:59 2022
    XPost: alt.html, comp.infosystems.www.authoring.stylesheets

    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).

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Dale@21:1/5 to Dale on Sat Mar 5 14:23:05 2022
    XPost: alt.html, comp.infosystems.www.authoring.stylesheets

    On 3/5/2022 1:56 PM, Dale wrote:
    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.



    looking for sentence types, not headers or lines

    --
    Mystery? -> https://www.dalekelly.org/

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From =?UTF-8?B?8J+YiSBHb29kIEd1eSDwn5iJ?@21:1/5 to All on Sat Mar 5 19:15:00 2022
    XPost: alt.html, comp.infosystems.www.authoring.stylesheets

    This is a multi-part message in MIME format.
    The main answer is in html section of this post. Scroll down or view the source code.



    --
    "Similar to Windows 11 Home edition, Windows 11 Pro edition now requires internet connectivity during the initial device setup (OOBE) only. If
    you choose to setup device for personal use, MSA will be required for
    setup as well. You can expect Microsoft Account to be required in
    subsequent WIP flights."

    "Now this is not the end. It is not even the beginning of the end. But
    it is, perhaps, the end of the beginning "

    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <style>
    @import url(https://tinyurl.com/yc5pb7av);body{font-size:1.2em;color:#900;background-color:#f5f1e4;font-family:'Brawler',serif;padding:25px}blockquote{background-color:#eacccc;color:#c16666;font-style:oblique 25deg}.table{display:table}.tr{display:table-
    row}.td{display:table-cell}.top{display:grid;background-color:#005bbb;min-width:900px;max-width:900px;min-height:213px;justify-content:center;align-content:center;color:red;font-size:150px}.bottom{display:grid;background-color:#ffd500;min-width:900px;max-
    width:900px;min-height:213px;justify-content:center;align-content:center;color:red;font-size:150px}
    </style>
    </head>
    <body text="#990000" bgcolor="#f5f1e4">
    <div class="moz-cite-prefix">On 05/03/2022 18:56, Dale wrote:<br>
    </div>
    <blockquote type="cite" cite="mid:t00bop$dmf$1@dont-email.me"><br>
    <br>
    I have been mainly using &lt;p&gt; paragraph style. <br>
    <br>
    I saw p1,p2,p3 on W3 Schools. How many &lt;p&gt; styles are there?
    <br>
    <br>
    <br>
    </blockquote>
    <p>Only one actually.!! The link you posted are simply styles
    defined for classes p1, p2. p3 etc. There is a dot before class
    name e.g .p1, .p2 and .p3</p>
    <p><br>
    </p>
    <div class="top">Arrest</div>
    <div class="bottom">Dictator Putin</div>
    <p><br>
    </p>
    <a href="https://i.imgur.com/Mxpx9bh.png"><img
    moz-do-not-send="true" src="https://i.imgur.com/Mxpx9bh.png"
    alt="[ Arrest Dictator Putin ]" width="897" height="424"
    border="0"></a>
    <p><br>
    </p>
    <div class="moz-signature">-- <br>
    <q>Similar to Windows 11 Home edition, Windows 11 Pro edition now
    requires internet connectivity during the initial device setup
    (OOBE) only. If you choose to setup device for personal use, MSA
    will be required for setup as well. You can expect Microsoft
    Account to be required in subsequent WIP flights.</q><br>
    <br>
    <q> Now this is not the end. It is not even the beginning of the
    end. But it is, perhaps, the end of the beginning </q></div>
    </body>
    </html>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Jack Lemmon@21:1/5 to All on Sat Mar 5 19:58:36 2022
  • From Dale@21:1/5 to Jukka K. Korpela on Sat Mar 5 15:23:46 2022
    XPost: alt.html, comp.infosystems.www.authoring.stylesheets

    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?

    --
    Mystery? -> https://www.dalekelly.org/

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From David E. Ross@21:1/5 to Dale on Sat Mar 5 16:54:15 2022
    XPost: alt.html, comp.infosystems.www.authoring.stylesheets

    On 3/5/2022 12:23 PM, Dale wrote:
    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 have never seen a paragraph element with a number. That is, I have
    never seen <p1>, <p2>, etc.

    My paragraphs contain sentences without any need for additional markup. Instead, my paragraphs contain character strings. Some strings begin
    with an upper-case letter and end with a period. I can have more than
    one such string in a paragraph.

    --
    David E. Ross
    "A Message to Those Who Are Not Vaccinated"
    See my <http://www.rossde.com/index.html#vaccine>.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From JJ@21:1/5 to Dale on Sun Mar 6 14:44:34 2022
    XPost: alt.html, comp.infosystems.www.authoring.stylesheets

    On Sat, 5 Mar 2022 13:56:25 -0500, Dale wrote:

    I saw p1,p2,p3 on W3 Schools. How many <p> styles are there?

    https://www.w3schools.com/css/css_font.asp

    Those p1, p2, p3 are not styles. They're class names which are user defined.

    The available styles for any renderable tags are quite numerous.

    https://developer.mozilla.org/en-US/docs/Web/CSS/Reference#index

    And while p1, p2, p3 are not part of the standard tags, they can be used as tags. They will be treated like SPAN tag but having different tag name. e.g.

    <p1>p1 content</p1> <p2>p1 content <p3>p3 content</p3></p2>

    I am kind of confused about using a paragraph style for a line style.

    P tag reserves the entire line for its own content, because it's a block
    style element. If a text in it doesn't fill the whole line (or the last
    line, if the P tag contents requires more than one line), any text after the
    P tag (enclosed with a tag or not), will start from a new line, instead of continuing from the free space of the previous line.

    SPAN tag is an inline style element, where any inline element following it, will continue from the end of the last line of the previous SPAN tag. It's basically same as not enclosing the text with any tag at all, in terms of placement of the starting text.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Stefan Ram@21:1/5 to Dale on Sun Mar 6 09:19:04 2022
    Dale <dale@dalekelly.org> writes:
    What are options for non-header text?

    An overview about names of HTML element types (markup) seems
    to be available at

    developer.mozilla.org/en-US/docs/Web/HTML/Element

    . Today, it is often recommended to separate document markup
    from visual design. To accomplish this, all specifications
    regarding appearance should be made in separate CSS resources.

    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«.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Stefan Ram@21:1/5 to Stefan Ram on Sun Mar 6 09:38:49 2022
    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>

    .

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Dale@21:1/5 to Stefan Ram on Sun Mar 6 10:37:47 2022
    On 3/6/2022 4:38 AM, Stefan Ram wrote:
    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>

    .



    I think I will use this. Thank you.

    --
    Mystery? -> https://www.dalekelly.org/

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Arno Welzel@21:1/5 to All on Sun Mar 6 19:16:25 2022
    XPost: alt.html, comp.infosystems.www.authoring.stylesheets

    Dale:

    <h1>Dale's Website</h1>

    <h2 style="color: #818285;">Discovering Metaphysics ...</h2>

    I found that I can use h1 to h6 text.

    Yes - for level 1 heading to level 6 heading.

    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?

    None. <p> is for "paragraph". There is no <p1>, <p2> etc.

    Also see: <https://html.spec.whatwg.org/#toc-semantics>

    https://www.w3schools.com/css/css_font.asp

    I am kind of confused about using a paragraph style for a line style.

    There is no "paragraph style".

    There also styles.

    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.

    I have some of my edited PDF files I am changing to HTML.

    Then you should first learn about what HTML really is and how to use CSS
    to style it.



    --
    Arno Welzel
    https://arnowelzel.de

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lewis@21:1/5 to Arno Welzel on Mon Mar 7 11:51:37 2022
    XPost: alt.html, comp.infosystems.www.authoring.stylesheets

    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.

    Put this in an HTML page and see how it looks.

    #v+
    This is a test
    This is a test
    This is a test

    <p>this is a p test</p>
    <p>this is a p test</p>
    <p>this is a p test</p>
    #v-

    Very different.

    Styles can be applied to HTML elements.

    Many HTML elements have inherent styling, <p> and the <h#> tags, for
    example. You can override the styles, but they have styles.

    There are inline HTML elements and block leven HTML elements.

    And those are also styles, and you can make an inline style into a block
    style.

    Elements like h1...h6, p, div are block level elements because the
    create an new block in the document.

    And can be made inline instead of blocks.

    Elements like em, b, span are inline elements as the only apply to text inside a block.

    #v+
    <p>this is a strong <strong>test</strong></p>
    <p>this is a strong <strong style="display:block">test</strong></p>
    #v-

    --
    "Are you pondering what I'm pondering?"
    "I think so, Brain, but can you use the word 'asphalt' in polite
    society?"

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Arno Welzel@21:1/5 to All on Mon Mar 7 13:55:06 2022
    XPost: alt.html, comp.infosystems.www.authoring.stylesheets

    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.


    --
    Arno Welzel
    https://arnowelzel.de

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From David E. Ross@21:1/5 to Arno Welzel on Mon Mar 7 09:12:32 2022
    XPost: alt.html, comp.infosystems.www.authoring.stylesheets

    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.

    --
    David E. Ross
    "A Message to Those Who Are Not Vaccinated"
    See my <http://www.rossde.com/index.html#vaccine>.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Arno Welzel@21:1/5 to All on Mon Mar 7 21:01:50 2022
    XPost: alt.html, comp.infosystems.www.authoring.stylesheets

    David E. Ross:

    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.

    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;
    }

    But this is not a "paragraph style". It's just a style which applies to
    <p> elements. Exactly the same style can also be applied to <div> or
    <h1> if you want to:

    div {
    display: block;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    }

    h1 {
    display: block;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    }

    And if you name the style with a class name you can use it whenever you
    want:

    .default {
    display: block;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    }

    And using this:

    <div class="default">Some text in "default" style.</div>




    --
    Arno Welzel
    https://arnowelzel.de

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lewis@21:1/5 to Arno Welzel on Mon Mar 7 21:14:03 2022
    XPost: alt.html, comp.infosystems.www.authoring.stylesheets

    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;


    --
    Anybody who could duck the Vietnam war can certainly duck a couple of
    shoes.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Helmut Richter@21:1/5 to Arno Welzel on Tue Mar 8 10:01:32 2022
    XPost: alt.html, comp.infosystems.www.authoring.stylesheets

    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.

    --
    Helmut Richter

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Philip Herlihy@21:1/5 to All on Tue Mar 8 09:59:50 2022
    XPost: alt.html, comp.infosystems.www.authoring.stylesheets

    In article <alpine.DEB.2.22.394.2203080947140.2172@kiboko2>, hr.usenet@email.de says...

    ...

    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.

    If using Chrome (Edge and Mozilla are similar) then google "developer tools Chrome" and pick the Videos tab. Loads of offerings there.

    --

    Phil, London

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Arno Welzel@21:1/5 to All on Tue Mar 8 17:39:28 2022
    XPost: alt.html, comp.infosystems.www.authoring.stylesheets

    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.


    --
    Arno Welzel
    https://arnowelzel.de

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Arno Welzel@21:1/5 to All on Tue Mar 8 17:37:18 2022
    XPost: alt.html, comp.infosystems.www.authoring.stylesheets

    Helmut Richter:

    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.

    Or you just put a "reset" or "normalize" section at the beginning of
    your CSS.

    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.

    Create a basic HTML file with some elements and open it.

    Press F12.

    Switch to "Elements" tab and select an element in the document HTML tree
    on the left. On the right you should see the CSS rulesfor this element.


    --
    Arno Welzel
    https://arnowelzel.de

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lewis@21:1/5 to Helmut Richter on Tue Mar 8 18:01:14 2022
    XPost: alt.html, comp.infosystems.www.authoring.stylesheets

    In message <alpine.DEB.2.22.394.2203080947140.2172@kiboko2> Helmut Richter <hr.usenet@email.de> wrote:
    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.

    Depends on your browser and/or development environment, but the defaults
    er specified in the w3 documentation, IIRC. Generally I can tell what
    the default is for a tag, if there is one, just by having used the tag.
    Perhaps not the exact values, but which styles it is setting (h tags use
    bold, for example).


    --
    Oh no, I hate big buts and I cannot lie

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lewis@21:1/5 to Arno Welzel on Tue Mar 8 21:41:52 2022
    XPost: alt.html, comp.infosystems.www.authoring.stylesheets

    In message <j8pf60F7sb9U2@mid.individual.net> Arno Welzel <usenet@arnowelzel.de> wrote:
    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.

    Feel free to wallow in your willful ignorance. Good luck with that.

    --
    24 hour banking? I don't have time for that.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Arno Welzel@21:1/5 to All on Thu Mar 10 18:16:31 2022
    XPost: alt.html, comp.infosystems.www.authoring.stylesheets

    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".


    --
    Arno Welzel
    https://arnowelzel.de

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From David E. Ross@21:1/5 to Arno Welzel on Thu Mar 10 20:23:03 2022
    XPost: alt.html, comp.infosystems.www.authoring.stylesheets

    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
    element attribute. On SeaMonkey's menu bar, I can select [View > Use
    Style > None] to view a Web page using only that browser's default
    "styles".

    Note that the HTML 4 and HTML 5 specifications do not indicate any style
    for the <p> element. That is why the developers of each browser are
    free to define a default "style" for <p>.

    I use quotes above because the defaults are NOT CSS styles.

    --
    David E. Ross
    "A Message to Those Who Are Not Vaccinated"
    See my <http://www.rossde.com/index.html#vaccine>.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Arno Welzel@21:1/5 to All on Fri Mar 11 13:17:40 2022
    XPost: alt.html, comp.infosystems.www.authoring.stylesheets

    David E. Ross:

    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

    Yes - but this is not a "CSS paragraph style"! CSS does not care for
    which element styles are used for and there is not CSS style "display: paragraph" or similar.

    I use quotes above because the defaults are NOT CSS styles.

    Correct - and this is all a talk about! Of course I *never* said, that
    <p> elements don't have default styles!


    --
    Arno Welzel
    https://arnowelzel.de

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Dale@21:1/5 to Stefan Ram on Fri Mar 11 12:48:17 2022
    XPost: alt.html, comp.infosystems.www.authoring.stylesheets

    On 3/6/2022 4:38 AM, Stefan Ram wrote:
    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>
    ...


    multiple tabs?

    <br> in between?

    --
    Mystery? -> https://www.dalekelly.org/

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From David E. Ross@21:1/5 to Dale on Fri Mar 11 12:38:46 2022
    XPost: alt.html, comp.infosystems.www.authoring.stylesheets

    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:

    ... we can write

    <dl><dt>alpha</dt><dd><dl>
    <dt>beta</dt>
    <dd>text</dd></dl></dd></dl>
    ...
    multiple tabs?

    <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>.

    --
    David E. Ross
    "A Message to Those Who Are Not Vaccinated"
    See my <http://www.rossde.com/index.html#vaccine>.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Dale@21:1/5 to David E. Ross on Fri Mar 11 16:55:45 2022
    XPost: alt.html, comp.infosystems.www.authoring.stylesheets

    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:

    ... we can write

    <dl><dt>alpha</dt><dd><dl>
    <dt>beta</dt>
    <dd>text</dd></dl></dd></dl>
    ...
    multiple tabs?

    <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>








    --
    Mystery? -> https://www.dalekelly.org/

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Philip Herlihy@21:1/5 to All on Sat Mar 12 12:51:14 2022
    XPost: alt.html, comp.infosystems.www.authoring.stylesheets

    In article <t0ggh1$kp0$1@dont-email.me>, dale@dalekelly.org says...

    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:

    ... we can write

    <dl><dt>alpha</dt><dd><dl>
    <dt>beta</dt>
    <dd>text</dd></dl></dd></dl>
    ...
    multiple tabs?

    <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>

    Starting to wonder if you're gently pulling our legs.

    ".. something like <br>". How similar to <br> should that "something" be? In what way would it be similar?

    Maybe read a recent book on using HTML and CSS together, and then frame clear and well-defined questions for forums like this, for any remaining questions? And focus on what you want to achieve, rather than spouting tag-salad in rambling questions.

    Folk here are not unhelpful. If you mean browser tabs, then that's not an HTML or CSS issue, though the HTML "target=_blank" attribute will be worth understanding.

    --

    Phil, London

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)