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 3440218
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T08:24:22+00:00 2026-05-18T08:24:22+00:00

Line 8, Column 7: end tag for STYLE omitted, but its declaration does not

  • 0

Line 8, Column 7: end tag for “STYLE” omitted, but its declaration does not permit this
✉
•You forgot to close a tag, or
•you used something inside this tag that was not allowed, and the validator is complaining that the tag should be closed before such content can be allowed.
The next message, “start tag was here” points to the particular instance of the tag in question); the positional indicator points to where the validator expected you to close the tag.
Line 7, Column 1: start tag was here

<html>
<head>
<title>Randy's first html web page !</title>
<style type="text/css">
</head>
body
h1
{
background-color:#6495aa;
margin-right:1350px;
}
h2
{
background-color:#b0c4de;
margin-right:1350px;
}
p
{
background-color:#649fff;
margin-right:1350px;
}
div
{
background-color:#efffff;
}
</style>
  • 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-05-18T08:24:22+00:00Added an answer on May 18, 2026 at 8:24 am

    You closed your head before your style, so the validator sees it as you’ve already finished with <style>, and take it that you forgot to close it before </head>, try:

        <html>
    <head>
    <title>Randy's first html web page !</title>
    <style type="text/css">
    body
    h1
    {
    background-color:#6495aa;
    margin-right:1350px;
    }
    h2
    {
    background-color:#b0c4de;
    margin-right:1350px;
    }
    p
    {
    background-color:#649fff;
    margin-right:1350px;
    }
    div
    {
    background-color:#efffff;
    }
    </style>
    </head>
    

    also, I saw

    body
    h1
    {
    ...
    

    Is that intended?

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

this is the error: Line 29, Column 134: end tag for img omitted, but
why w3 validator show error? Line 5, Column 7: end tag for head which
break line tag is not working in firefox, neither in chrome. When i see
I get this message with a w3c validator: line 112 column 30 - Fout:
How do I get the current line and column numbers in a RichTextBox in
I have a sproc that returns a single line and column with a text,
I have a computed column created with the following line: alter table tbPedidos add
We've a table with a varchar2(100) column, that occasionally contains carriage-return & line-feeds. We
When trying to validate my site, I get the following error: Line 188, column
This line in YUI's Reset CSS is causing trouble for me: address,caption,cite,code,dfn,em,strong,th,var { font-style:

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.