Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > alt.html > #24177 > unrolled thread

multiple text sizes in one sentence ?

Started byDale <dalekellytoo@gmail.com>
First post2026-06-28 08:25 -0400
Last post2026-07-01 12:25 +0000
Articles 20 — 9 participants

Back to article view | Back to alt.html


Contents

  multiple text sizes in one sentence ? Dale <dalekellytoo@gmail.com> - 2026-06-28 08:25 -0400
    Re: multiple text sizes in one sentence ? "R.Wieser" <address@is.invalid> - 2026-06-28 14:46 +0200
      Re: multiple text sizes in one sentence ? Dale <dalekellytoo@gmail.com> - 2026-06-28 08:59 -0400
        Re: multiple text sizes in one sentence ? "R.Wieser" <address@is.invalid> - 2026-06-28 18:13 +0200
          Re: multiple text sizes in one sentence ? "R.Wieser" <address@is.invalid> - 2026-06-29 08:18 +0200
        Re: multiple text sizes in one sentence ? Lawrence D’Oliveiro <ldo@nz.invalid> - 2026-06-28 23:12 +0000
          Re: multiple [OT]“horse and carriage” vs “love and marriage” "Mr. Man-wai Chang" <toylet.toylet@gmail.com> - 2026-06-29 11:28 +0800
        Re: multiple text sizes in one sentence ? Arno Welzel <usenet@arnowelzel.de> - 2026-06-30 08:45 +0200
          Re: multiple text sizes in one sentence ? "Mr. Man-wai Chang" <toylet.toylet@gmail.com> - 2026-06-30 17:07 +0800
            Re: multiple text sizes in one sentence ? Michael Uplawski <michael.uplawski@uplawski.eu> - 2026-06-30 13:23 +0200
    Re: multiple text sizes in one sentence ? Siard <saylor259@mailbox.org> - 2026-06-28 14:53 +0200
      Re: multiple text sizes in one sentence ? ram@zedat.fu-berlin.de (Stefan Ram) - 2026-06-28 13:40 +0000
      Re: multiple text sizes in one sentence ? Lawrence D’Oliveiro <ldo@nz.invalid> - 2026-06-28 23:14 +0000
    Re: multiple text sizes in one sentence ? "Mr. Man-wai Chang" <toylet.toylet@gmail.com> - 2026-06-28 22:23 +0800
      Re: multiple text sizes in one sentence ? Dale <dalekellytoo@gmail.com> - 2026-06-28 11:52 -0400
        Re: multiple text sizes ... formatting codes and partenthesis "Mr. Man-wai Chang" <toylet.toylet@gmail.com> - 2026-06-29 02:27 +0800
          Re: multiple... Hong Kong Time Zone -> HKTZ "Mr. Man-wai Chang" <toylet.toylet@gmail.com> - 2026-06-29 11:30 +0800
    Re: multiple text sizes in one sentence ? Arno Welzel <usenet@arnowelzel.de> - 2026-06-28 18:50 +0200
    Re: multiple text sizes in one sentence ? "Mr. Man-wai Chang" <toylet.toylet@gmail.com> - 2026-06-29 19:46 +0800
    Re: multiple text sizes in one sentence ? Allodoxaphobia <trepidation@example.net> - 2026-07-01 12:25 +0000

#24177 — multiple text sizes in one sentence ?

FromDale <dalekellytoo@gmail.com>
Date2026-06-28 08:25 -0400
Subjectmultiple text sizes in one sentence ?
Message-ID<111r3r3$3jsro$1@dont-email.me>
multiple text sizes in one sentence ?


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

[toc] | [next] | [standalone]


#24178

From"R.Wieser" <address@is.invalid>
Date2026-06-28 14:46 +0200
Message-ID<111r54d$3k940$1@dont-email.me>
In reply to#24177
Dale,

> multiple text sizes in one sentence ?

Yes.

You could use the old HTML tag method, or the more modern CSS approach.

What did you try to find a solution yourself ?  (hint: "HTML text size")

Regards,
Rudy Wieser

[toc] | [prev] | [next] | [standalone]


#24180

FromDale <dalekellytoo@gmail.com>
Date2026-06-28 08:59 -0400
Message-ID<111r5rs$3kc2p$1@dont-email.me>
In reply to#24178
On 6/28/2026 8:46 AM, R.Wieser wrote:
> Dale,
> 
>> multiple text sizes in one sentence ?
> 
> Yes.
> 
> You could use the old HTML tag method, or the more modern CSS approach.
> 
> What did you try to find a solution yourself ?  (hint: "HTML text size")
> 
> Regards,
> Rudy Wieser
> 
> 

Had a look in W3Schools.

Didn't find the answer. Could have been a lack of a good search.

Prefer HTML but would consider CSS.

Thank You !

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

[toc] | [prev] | [next] | [standalone]


#24184

From"R.Wieser" <address@is.invalid>
Date2026-06-28 18:13 +0200
Message-ID<111rh85$3nn0m$1@dont-email.me>
In reply to#24180
Dale,

> Didn't find the answer. Could have been a lack of a good search.

When I put my hint (HTML text size) into DDG I get a page full with both CSS 
as well as HTML tag related results.

-- the top one being https://www.w3schools.com/css/css_font_size.asp a bit 
lower down https://www.w3schools.com/tags/tag_font.asp .

Mind you, I took the above search terms from your own post ...

And I see you got several CSS related responses

>Here is the line with one size of text:
>
> The SUPERNATURAL (orderly, ritual) turns the NATURAL (disorder, 
> volatility) into the SUPER (order, rite).
>
> I want the things in the parenthesis to be <p> with the things outside the 
> parenthesis to be <h2>.

Start with wrapping the whole line in a pair of H2 tags.  Do NOT use P tags, 
as those break the sentence into multiple lines (strong suggestion: try it 
with P tags anyway and see for yourself).

Than use sian's second example (the one using SPAN pairs) for what you now 
have in parenthesis

Regards,
Rudy Wieser

[toc] | [prev] | [next] | [standalone]


#24191

From"R.Wieser" <address@is.invalid>
Date2026-06-29 08:18 +0200
Message-ID<111t2no$4uai$1@dont-email.me>
In reply to#24184

> Do NOT use P tags, as those break the sentence into multiple lines

When re-reading it noticed the above is a bit confusing, as I forgot a few 
words :

Do NOT use P tags *inside the H2 tags*, as those break the sentence into 
multiple lines.

Regards,
Rudy Wieser

[toc] | [prev] | [next] | [standalone]


#24187

FromLawrence D’Oliveiro <ldo@nz.invalid>
Date2026-06-28 23:12 +0000
Message-ID<111s9pe$3ua8h$1@dont-email.me>
In reply to#24180
On Sun, 28 Jun 2026 08:59:39 -0400, Dale wrote:

> Prefer HTML but would consider CSS.

You know the old song about “love and marriage” going together like a
“horse and carriage”?

That applies to HTML and CSS, too. Nowadays, you can’t have one
without the other.

[toc] | [prev] | [next] | [standalone]


#24189 — Re: multiple [OT]“horse and carriage” vs “love and marriage”

From"Mr. Man-wai Chang" <toylet.toylet@gmail.com>
Date2026-06-29 11:28 +0800
SubjectRe: multiple [OT]“horse and carriage” vs “love and marriage”
Message-ID<111sopj$1fko$1@toylet.eternal-september.org>
In reply to#24187
On 6/29/2026 7:12 AM, Lawrence D’Oliveiro wrote:
> 
> You know the old song about “love and marriage” going together like a
> “horse and carriage”?


That's because your "love" is about "horse"?

Modern "horse" is referring to cars?

You chose "marriage" because your perspective
spouse offered a car? :)

So what do yuo all love? Will you use a marriage
bonding to get something you loved? Is this a
good idea?

-- 

    @~@   Simplicity is Beauty! Remain silent! Drink, Blink, Stretch!
   / v \  May the Force and farces be with you! Live long and prosper!!
  /( _ )\ https://sites.google.com/site/changmw/
    ^ ^   https://github.com/changmw/changmw
          The game is afoot... Meow...

[toc] | [prev] | [next] | [standalone]


#24193

FromArno Welzel <usenet@arnowelzel.de>
Date2026-06-30 08:45 +0200
Message-ID<111vomu$sp0b$2@dont-email.me>
In reply to#24180
Dale, 2026-06-28 14:59:

> On 6/28/2026 8:46 AM, R.Wieser wrote:
>> Dale,
>>
>>> multiple text sizes in one sentence ?
>>
>> Yes.
>>
>> You could use the old HTML tag method, or the more modern CSS approach.
>>
>> What did you try to find a solution yourself ?  (hint: "HTML text size")
>>
>> Regards,
>> Rudy Wieser
>>
>>
> 
> Had a look in W3Schools.
> 
> Didn't find the answer. Could have been a lack of a good search.
> 
> Prefer HTML but would consider CSS.

HTML is *markup* and *not* "design". HTML tags do *not* define visual
text sizes, but the *structure* of a document. It completely depends on
the browser how to display this.

Also within a sentence you can not change the text size at all without
CSS. There is no "make this word bigger" element like <big>text</big>
and using <h1> will create a new *block* level element for a *heading*
and not "visually big text".

-- 
Arno Welzel
https://arnowelzel.de

[toc] | [prev] | [next] | [standalone]


#24194

From"Mr. Man-wai Chang" <toylet.toylet@gmail.com>
Date2026-06-30 17:07 +0800
Message-ID<112010l$v71r$1@toylet.eternal-september.org>
In reply to#24193
On 6/30/2026 2:45 PM, Arno Welzel wrote:
> 
> Also within a sentence you can not change the text size at all without
> CSS. There is no "make this word bigger" element like <big>text</big>
> and using <h1> will create a new *block* level element for a *heading*
> and not "visually big text".


You can use relative font size, right?

-- 

    @~@   Simplicity is Beauty! Remain silent! Drink, Blink, Stretch!
   / v \  May the Force and farces be with you! Live long and prosper!!
  /( _ )\ https://sites.google.com/site/changmw/
    ^ ^   https://github.com/changmw/changmw
          The game is afoot... Meow...

[toc] | [prev] | [next] | [standalone]


#24196

FromMichael Uplawski <michael.uplawski@uplawski.eu>
Date2026-06-30 13:23 +0200
Message-ID<AABqQ6dBxf4AAGo0.A3.flnews@ferrat.uplawski.eu>
In reply to#24194
Supsersedes for clarification

Mr. Man-wai Chang wrote in comp.infosystems.www.authoring.html,comp.infosystems.www.authoring.stylesheets,alt.html:
>On 6/30/2026 2:45 PM, Arno Welzel wrote:
>>
>>Also within a sentence you can not change the text size at all without
>>CSS. There is no "make this word bigger" element like <big>text</big>
>>and using <h1> will create a new *block* level element for a *heading*
>>and not "visually big text".
>
>
>You can use relative font size, right?

How is that relevant? Can you show an example which fits in the
context?

As I understand it, you have to specify the font size in any way you
can. You should anyway not stick to points or other units when
arbitrary programs shall display your HTML as is deemed appropriate
by their user.

This does – however – not relate to anything that Arno correctly
stated above.

The meaning of “relative” is relative. Here is the example that I
was waiting for: 
-----------------
<!DOCTYPE html>
<html>
<head>
  <title>font size</title>
</head>
<body style="font-size: 13pt;">

  <!-- From here on, everything is “relative” -->

  <p>Normal 13pt text and <span style="font-size: smaller;">smaller
  text</span> and <span style="font-size: 1.3em;">bigger
  text</span> and back to normal…</p>

  <div id='page_dt'>
    2026-06-30
  </div>
</body>
</html>
------------------------

[toc] | [prev] | [next] | [standalone]


#24179

FromSiard <saylor259@mailbox.org>
Date2026-06-28 14:53 +0200
Message-ID<nacjr0Fe0k2U1@mid.individual.net>
In reply to#24177
Dale wrote:
> multiple text sizes in one sentence ?

  <p style="font-size:16px">Not a <span style="font-size:24px">big</span> problem</p>

or:

  <p>Not a <span style="font-size:1.5em">big</span> problem</p>

[toc] | [prev] | [next] | [standalone]


#24181

Fromram@zedat.fu-berlin.de (Stefan Ram)
Date2026-06-28 13:40 +0000
Message-ID<rant-20260628143752@ram.dialup.fu-berlin.de>
In reply to#24179
Siard <saylor259@mailbox.org> wrote or quoted:
><p style="font-size:16px">Not a <span style="font-size:24px">big</span> problem</p>

  That reminds me of HTML 3.2:

BIG   places text in a large font 
SMALL places text in a small font

  . And here's the rant by a hypothetical HTML 3.2 engineer:

|You young coders think you're so sophisticated with your
|bloated attributes, but look at that hideous snippet: you are
|literally hardcoding a rigid, pixel-exact physical size right
|into your content! That completely destroys the soul of the
|Web. Back in my day with HTML 3.2, <BIG> and <SMALL> were
|beautifully abstract and truly scalable; they didn't force a
|dynamic screen into a static 24-pixel cage, they simply told
|the browser, "Hey, make this structurally larger or smaller
|relative to whatever font the user prefers." It was semantic,
|elegant, and infinitely more adaptable to unknown screens
|than messy, inline CSS clutter that confuses styling with raw
|structure!

  .

[toc] | [prev] | [next] | [standalone]


#24188

FromLawrence D’Oliveiro <ldo@nz.invalid>
Date2026-06-28 23:14 +0000
Message-ID<111s9si$3ua8h$2@dont-email.me>
In reply to#24179
On Sun, 28 Jun 2026 14:53:04 +0200, Siard wrote:

> Dale wrote:
>>
>> multiple text sizes in one sentence ?
>
>   <p style="font-size:16px">Not a <span style="font-size:24px">big</span> problem</p>
>
> or:
>
>   <p>Not a <span style="font-size:1.5em">big</span> problem</p>

<https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Properties/font-size>
<https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Properties/font-size-adjust>

[toc] | [prev] | [next] | [standalone]


#24182

From"Mr. Man-wai Chang" <toylet.toylet@gmail.com>
Date2026-06-28 22:23 +0800
Message-ID<111rapk$3lrah$2@toylet.eternal-september.org>
In reply to#24177
On 6/28/2026 8:25 PM, Dale wrote:
> 
> multiple text sizes in one sentence ?
You talking HTML web-pages or web-forum formatting codes?

Or maybe ... you talking about Wordstar for DOS? :)

-- 

    @~@   Simplicity is Beauty! Remain silent! Drink, Blink, Stretch!
   / v \  May the Force and farces be with you! Live long and prosper!!
  /( _ )\ https://sites.google.com/site/changmw/
    ^ ^   https://github.com/changmw/changmw
          The game is afoot... Meow...

[toc] | [prev] | [next] | [standalone]


#24183

FromDale <dalekellytoo@gmail.com>
Date2026-06-28 11:52 -0400
Message-ID<111rg07$3n5fp$1@dont-email.me>
In reply to#24182
On 6/28/2026 10:23 AM, Mr. Man-wai Chang wrote:
> On 6/28/2026 8:25 PM, Dale wrote:
>>
>> multiple text sizes in one sentence ?
> You talking HTML web-pages or web-forum formatting codes?
> 
> Or maybe ... you talking about Wordstar for DOS? :)
> 

Thank You !

HTML.

Three <h2></h2> and three <p></p> in one line.

Not three lines.

One size of text isn't as neat.

Here is the line with one size of text:

The SUPERNATURAL (orderly, ritual) turns the NATURAL (disorder, 
volatility) into the SUPER (order, rite).

I want the things in the parenthesis to be <p> with the things outside 
the parenthesis to be <h2>.

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

[toc] | [prev] | [next] | [standalone]


#24186 — Re: multiple text sizes ... formatting codes and partenthesis

From"Mr. Man-wai Chang" <toylet.toylet@gmail.com>
Date2026-06-29 02:27 +0800
SubjectRe: multiple text sizes ... formatting codes and partenthesis
Message-ID<111rp2b$3pu09$1@toylet.eternal-september.org>
In reply to#24183
On 6/28/2026 11:52 PM, Dale wrote:
> On 6/28/2026 10:23 AM, Mr. Man-wai Chang wrote:
>> On 6/28/2026 8:25 PM, Dale wrote:
>>>
>>> multiple text sizes in one sentence ? 
>>>
>> You talking HTML web-pages or web-forum formatting codes?
>>
>> Or maybe ... you talking about Wordstar for DOS? :)
>>
> 
> Thank You !

Before answering your question, let's
side-track a bit about the 3 things I
mentioned:

Say you want bold text:

Wordstar 4.0 (can't remember):  <B>text<B>

HTML: <b>text</b>

web-forum: [b]text[/b]

Notice the wrap-symbols. And...

Good nite, from Hong Kong Time Zone. :)


-- 

    @~@   Simplicity is Beauty! Remain silent! Drink, Blink, Stretch!
   / v \  May the Force and farces be with you! Live long and prosper!!
  /( _ )\ https://sites.google.com/site/changmw/
    ^ ^   https://github.com/changmw/changmw
          The game is afoot... Meow...

[toc] | [prev] | [next] | [standalone]


#24190 — Re: multiple... Hong Kong Time Zone -> HKTZ

From"Mr. Man-wai Chang" <toylet.toylet@gmail.com>
Date2026-06-29 11:30 +0800
SubjectRe: multiple... Hong Kong Time Zone -> HKTZ
Message-ID<111sot4$1fko$2@toylet.eternal-september.org>
In reply to#24186
On 6/29/2026 2:27 AM, Mr. Man-wai Chang wrote:
> 
> Good nite, from Hong Kong Time Zone. :)
HKTZ  <-- what does it look like?

-- 

    @~@   Simplicity is Beauty! Remain silent! Drink, Blink, Stretch!
   / v \  May the Force and farces be with you! Live long and prosper!!
  /( _ )\ https://sites.google.com/site/changmw/
    ^ ^   https://github.com/changmw/changmw
          The game is afoot... Meow...

[toc] | [prev] | [next] | [standalone]


#24185

FromArno Welzel <usenet@arnowelzel.de>
Date2026-06-28 18:50 +0200
Message-ID<111rjdc$ufb1$1@solani.org>
In reply to#24177
Dale, 2026-06-28 14:25:

> multiple text sizes in one sentence ?

Using <span> to have parts of the sentence in a different format:


<!DOCTYPE html>
<html>
<head>
<style>
.bigger {
  font-size: 1.5em;
}
</style>
</head>
<body>
<p>Some text <span class="bigger">with big word</span> and normal again.</p>
</body>
</html>

Also see:

<https://codepen.io/awelzel/pen/xbgLQKb>

-- 
Arno Welzel
https://arnowelzel.de

[toc] | [prev] | [next] | [standalone]


#24192

From"Mr. Man-wai Chang" <toylet.toylet@gmail.com>
Date2026-06-29 19:46 +0800
Message-ID<111tlv6$af2j$1@toylet.eternal-september.org>
In reply to#24177
On 6/28/2026 11:52 PM, Dale wrote:
 >
 > HTML.
 >
 > Three <h2></h2> and three <p></p> in one line.
 > Not three lines.
 > One size of text isn't as neat.
 > Here is the line with one size of text:
 >
 > The SUPERNATURAL (orderly, ritual) turns the NATURAL (disorder,
 > volatility) into the SUPER (order, rite).

Post your question again using the
above-mentioned text, and with a
better Subject.

Your question reminded me of 2 programming
languages: LISP and PROLOG.

-- 

    @~@   Simplicity is Beauty! Remain silent! Drink, Blink, Stretch!
   / v \  May the Force and farces be with you! Live long and prosper!!
  /( _ )\ https://sites.google.com/site/changmw/
    ^ ^   https://github.com/changmw/changmw
          The game is afoot... Meow...

[toc] | [prev] | [next] | [standalone]


#24197

FromAllodoxaphobia <trepidation@example.net>
Date2026-07-01 12:25 +0000
Message-ID<nakfakFnsmdU1@mid.individual.net>
In reply to#24177
On Sun, 28 Jun 2026 08:25:06 -0400, Dale wrote:
>
> multiple text sizes in one sentence ?

Ya.  Go ahead!  You've got my permission.

[toc] | [prev] | [standalone]


Back to top | Article view | alt.html


csiph-web