Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7764949
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T15:03:16+00:00 2026-06-01T15:03:16+00:00

I am currently using this DOCTYPE: <!DOCTYPE HTML SYSTEM> However, when I validate my

  • 0

I am currently using this DOCTYPE: <!DOCTYPE HTML SYSTEM>

However, when I validate my web page, I am getting the following error:

document type does not allow element “STYLE” here, at <style
type="text/css">

Can you please advise me on the correct DOCTYPE that I should use?

Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T15:03:17+00:00Added an answer on June 1, 2026 at 3:03 pm

    Hints :

    • Put your script and style tags, in your HEAD section
    • Put the rest in your BODY section
    • Remember to “close” all tags.

    <html>
          <head>
                 <!-- title,scripts & styles go here -->
          </head>
          <body>
                 <!-- the rest goes here -->
          </body>
    </html>
    

    Your Code : (UPDATED : Passes validation)

    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
       "http://www.w3.org/TR/html4/loose.dtd">
    <html>
        <head>
            <title>World Flag Registration</title>
            <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
            <script type="text/javascript" src="validate.js"></script>
    
            <style type="text/css">
                label{
                    display:inline-block;
                    width:200px;
                    margin-right:30px;
                    text-align:right;
                }
    
                input{
    
                }
    
                a, a:link, a:visited, a:active { 
                     color: #000000;
                }
    
                fieldset{
                    border:none;
                    width:500px;
                    margin:0px auto;
                }
            </style>
    
        </head>
        <body>
    
            <form onsubmit="return validate(this);" action="registrationSubmit.html">
                <p align="center"><font face="Times New Roman" size="6">World Flag Registration</font></p>
                <p align="center"><a href="index.html"><font face="Times New Roman">Home</font></a> | <a href="registration.html"> Register</a> | Play</p>
                <p align="center">Please register your school in order to play the Flag Quiz</p>
    
                <fieldset>
                    <legend></legend>
                    <label>Classroom name:</label><input type="text" name="txtClassroomName" size="20">
                    <label>School name:</label><input type="text" name="txtSchoolName" size="20">
                    <label>School contact email address:</label><input type="text" name="txtSchoolEmail" size="20">
                    <label>School address:</label><input type="text" name="txtSchoolAddress" size="20">
                    <label>School telephone number:</label><input type="text" name="txtTelephoneNumber" size="20">
                </fieldset>
    
                <div style="text-align:center">
                    <input type="submit" name="btnSubmit" value="Submit" onClick="Submit" align="middle">
                </div>
            </form>
        </body>
    </html>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm currently using this jQuery validate plugin and having an issue in IE where
I'm currently using this method in calling batch files in vb.net: Private Sub Button3_Click(ByVal
I'm currently using this code to calculate the sunrise / sunset times. (To be
I am currently using this code to grab key-strokes, but I am missing e.g.
I am currently using this code to get data from a URL: NSURL *url
I am currently using this code to bring up an info window -(IBAction)showInfo:(id)sender {
I am a rank beginner in C#. I am currently using this code: objGraphics.Clear(SystemColors.Control);
I currently am using this JavaScript code snippet to select 3 checkboxes at a
Currently I'm using this minor bit of javascript to remove a small list of
I'm using some HTML5 features on a web page and wondered what the best

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.