ebeshero/newtFire-webDev

Updating HTML specs on Explain HTML

Opened this issue · 2 comments

Decisions for the firebellies.newtfire.org server and teaching students on NewtFire

  • Serve xhtml as .html
  • no XML line (this seems to be problematic for serving UTF-8, is not common practice, and seems unnecessary.)
  • In oXygen 19, opening an 'HTML' file seems sufficient, providing the xhtml namespace designation. This is XHTML to be saved as .html.
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <title></title>
    </head>
    <body></body>
</html

Try this as a new default NewtFire page with simple, up-to-date and responsive <meta> tags:

   <!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <title>My NewtFire Homepage</title>
        <meta charset="UTF-8" />
        <meta name="author" content="Your Name" />
        <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    </head>
    <body>
        <h1>Hello, world!</h1>
        <p>Welcome to my site.</p>
    </body>
</html>