1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

How to correct this errors? I need advise

Discussion in 'HTML & Website Design' started by moise, Jun 10, 2020.

?

How can I resolve this errors?

  1. Correction

    1 vote(s)
    100.0%
  2. Guide

    0 vote(s)
    0.0%
  1. #1
    Give me advise
    SEMrush
     

    Attached Files:

    Solved! View solution.
    moise, Jun 10, 2020 IP
    SEMrush
  2. kk5st

    kk5st Prominent Member

    Messages:
    3,496
    Likes Received:
    377
    Best Answers:
    29
    Trophy Points:
    335
    #2
    In simple terms, the last element opened must be closed first. So walk your way back and close everything that you left open after the element you want to close. E.g.:
    <p>There are more <span lang="fr">soi-disant web developers than there are actual web developers.</p>
    Code (markup):
    You can't close the P until you have closed all descendants; in this case, the SPAN. A little tip, a good formatting scheme will make this type error more difficult to make and easier to find if you do screw up.

    gary
     
    kk5st, Jun 10, 2020 IP
    JEET and sarahk like this.
  3. #3
    In your case, you need to close your element DIV

    
    <div id="body-wrapper" class="home item index">
      delicious #instagram ....
    </div>
    
    Code (markup):
     
    olmix, Jun 18, 2020 IP
  4. miniclipz

    miniclipz Well-Known Member

    Messages:
    1,043
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    130
    #4
    Just like others said before, in HTML, the order you close the tags is opposite to the order you open them. What this means is that the last tag opened is the first one to be closed.
    Example:
    <body>
        <div id="body-wrapper" class="home item index">
            <p>#instagram #twitter</p>
        </div>
    </body>
    Code (markup):
    Hope this helps you understand.
     
    miniclipz, Jun 25, 2020 IP