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


Groups > alt.html > #23997 > unrolled thread

testing html is this right?

Started by10001thomassmith10001@gmail.com (tsmithy)
First post2025-01-09 12:05 +0000
Last post2025-01-11 20:21 +0000
Articles 4 — 3 participants

Back to article view | Back to alt.html


Contents

  testing html is this right? 10001thomassmith10001@gmail.com (tsmithy) - 2025-01-09 12:05 +0000
    Re: testing html is this right? Allodoxaphobia <trepidation@example.net> - 2025-01-09 16:10 +0000
    Re: testing html is this right? Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2025-01-09 18:16 +0100
      Re: testing html is this right? Allodoxaphobia <trepidation@example.net> - 2025-01-11 20:21 +0000

#23997 — testing html is this right?

From10001thomassmith10001@gmail.com (tsmithy)
Date2025-01-09 12:05 +0000
Subjecttesting html is this right?
Message-ID<86bbb71ffda133c7864fa19cae1b4850@www.rocksolidbbs.com>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Centered Text Example</title>
</head>
<body style="margin: 0; height: 100vh; display: flex; flex-direction:
column; justify-content: center; align-items: center; background-color:
#f0f0f0; font-family: Arial, sans-serif;">

    <h1 style="text-align: center; color: #333; margin-bottom: 20px;">
        Does this render right in the middle
    </h1>

    <p style="max-width: 600px; text-align: center; color: #666;
line-height: 1.6;">
        Lorem ipsum dolor sit amet, consectetur adipiscing elit.
        Quisque luctus, massa a feugiat tincidunt, purus justo vehicula
odio,
        nec tincidunt lorem nibh nec urna. Sed vitae turpis a nisl
malesuada
        tincidunt. Integer non augue vel urna vestibulum vestibulum.
        Curabitur ac nisl non nisi fermentum tristique. Donec euismod,
        justo a faucibus tincidunt, nulla erat feugiat nunc, vitae
        sollicitudin urna turpis in arcu.
    </p>

</body>
</html>

[toc] | [next] | [standalone]


#23998

FromAllodoxaphobia <trepidation@example.net>
Date2025-01-09 16:10 +0000
Message-ID<slrnvnvt80.90b.trepidation@vps.jonz.net>
In reply to#23997
On Thu, 9 Jan 2025 12:05:15 +0000, tsmithy wrote:
><!DOCTYPE html>
><html lang="en">
><head>
>     <meta charset="UTF-8">
>     <title>Centered Text Example</title>
></head>
><body style="margin: 0; height: 100vh; display: flex; flex-direction:
> column; justify-content: center; align-items: center; background-color:
> #f0f0f0; font-family: Arial, sans-serif;">
>
>     <h1 style="text-align: center; color: #333; margin-bottom: 20px;">
>         Does this render right in the middle
>     </h1>
>
>     <p style="max-width: 600px; text-align: center; color: #666;
> line-height: 1.6;">
>         Lorem ipsum dolor sit amet, consectetur adipiscing elit.
>         Quisque luctus, massa a feugiat tincidunt, purus justo vehicula
> odio,
>         nec tincidunt lorem nibh nec urna. Sed vitae turpis a nisl
> malesuada
>         tincidunt. Integer non augue vel urna vestibulum vestibulum.
>         Curabitur ac nisl non nisi fermentum tristique. Donec euismod,
>         justo a faucibus tincidunt, nulla erat feugiat nunc, vitae
>         sollicitudin urna turpis in arcu.
>     </p>
>
></body>
></html>

Yes.  Why?  Don't you have access to any browsers?

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


#23999

FromJanis Papanagnou <janis_papanagnou+ng@hotmail.com>
Date2025-01-09 18:16 +0100
Message-ID<vlp08h$3f5m0$1@dont-email.me>
In reply to#23997
Subject: "testing html is this right?"

If you mean to ask whether your code below is formally correct I
suggest to use some HTML validator, e.g. https://validator.w3.org/

The page allows to verify HTML by an URI, by file upload, or by
direct text input.

That's much easier and much more reliable than a visual review.

Janis

On 09.01.2025 13:05, tsmithy wrote:
> <!DOCTYPE html>
> <html lang="en">
> <head>
>    <meta charset="UTF-8">
>    <title>Centered Text Example</title>
> </head>
> <body style="margin: 0; height: 100vh; display: flex; flex-direction:
> column; justify-content: center; align-items: center; background-color:
> #f0f0f0; font-family: Arial, sans-serif;">
> 
>    <h1 style="text-align: center; color: #333; margin-bottom: 20px;">
>        Does this render right in the middle
>    </h1>
> 
>    <p style="max-width: 600px; text-align: center; color: #666;
> line-height: 1.6;">
>        Lorem ipsum dolor sit amet, consectetur adipiscing elit.
>        Quisque luctus, massa a feugiat tincidunt, purus justo vehicula
> odio,
>        nec tincidunt lorem nibh nec urna. Sed vitae turpis a nisl
> malesuada
>        tincidunt. Integer non augue vel urna vestibulum vestibulum.
>        Curabitur ac nisl non nisi fermentum tristique. Donec euismod,
>        justo a faucibus tincidunt, nulla erat feugiat nunc, vitae
>        sollicitudin urna turpis in arcu.
>    </p>
> 
> </body>
> </html>

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


#24000

FromAllodoxaphobia <trepidation@example.net>
Date2025-01-11 20:21 +0000
Message-ID<slrnvo5klc.2j1d.trepidation@vps.jonz.net>
In reply to#23999
On Thu, 9 Jan 2025 18:16:00 +0100, Janis Papanagnou wrote:
> Subject: "testing html is this right?"
>
> If you mean to ask whether your code below is formally correct I
> suggest to use some HTML validator, e.g. https://validator.w3.org/

I think it was class homework and the due date is now past.
So, we won't hear back.

[toc] | [prev] | [standalone]


Back to top | Article view | alt.html


csiph-web