• Hi, this is my firs help required sorry about my english im from Argentina and i speak spanish, I want to ask you how i can edit the Index.html the code i see with a ctrl U.
    I know that php generate the code, but i need to know the way to edit the neccesary lines to validate my page.
    Thanks a Lot from Argentina!

    Federico

Viewing 5 replies - 1 through 5 (of 5 total)
  • Your index.html file is not part of WordPress. index.php is the file that starts WordPress.

    I have had problems with WordPress generating way way invalid code for some of my Posts – I went into the Post and changed some formatting to get rid of the errors. But WordPress generating bad code seems to be rare.

    Not sure this is the information you are looking for. If you have a specific problem with your site a link helps to let people look at what the problem is, helps with the suggestions you are given

    Thread Starter frechi

    (@frechi)

    My idea is how i can follow the way from the php file to the html file to validate w3c.
    Thanks!

    If you just need to validate your code – I just fed a Validate program the address of my Posts or Pages. Only two Posts / Pages had a problem with unordered lists and pictures – pitched the unordered list format from around the pictures and everything went back to green / no errors.

    WordPress generates all display on the fly – the only time html shows up is when a specific Page / Post or combination is called.

    Not exactly what you ask – but hope it helps –

    Here is some information from WordPress on their thoughts on Validation.

    https://codex.www.ads-software.com/Validating_a_Website

    @frechi: Once you have identified an specific error, it’s a case of working backwards to figure out which part of WP the error is coming from. If it’s in your post or page content, you need to look at the actual content you’re adding via Edit Post or Edit Page.

    If it’s outside of your content, then it will be a problem with one of the theme template files. Knowing what theme file is used where helps when tracing this back.

    Have a look at the Anatomy of a Theme section on Theme_Development. It may help you to trace where the errors are coming from in your theme.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Edit HTML to Validate w3c’ is closed to new replies.