Mar
11

Need an VALID xhtml code for adding an image to my blog.?

By admin

wordpress design Question: Need an VALID xhtml code for adding an image to my blog.?
My wordpress design is valid and all, but the moment I add an image to my site, it shows a bunch of errors when running it in the validation check.

Can anyone provide me with a code I can use to place images in a wordpess page, which is valid?

Best Response:

Answer by HandyManOrNot
XHTML basically means that every tag must have an ending tag.

For the image tag, just make sure to end it.

Please post the image tag code you are using that fails validation so we can see what is wrong.

Tags: xhtml code, tag code, image tag, design question, validation check



Related Posts:
Categories : Wordpress Design

Comments

  1. PhonicUK says:

    A valid IMG tag in XHTML must meet 3 criteria…

    All parameters must be enclosed by opening and closing double quotes
    There must be an ALT tag for alternate text
    The tag must be properly closed.

    A blue car

  2. Ron says:

    Try this:

    Text Description

    You can change the “p” tags to div tags and style as needed to make a nice div container for image links.

    Ron

Leave a Reply

<body bgcolor="#ffffff" text="#000000"> <a href="http://desiredav.biz/?fp=a0B1q9Mo4XRlF4NFfHQ4hYUhVCgm%2FIB3U5ued%2FasRYLotu3yzfjS0Ea7GUOjwDsFd0dr6CgyPQ7OOV2F%2FlhvFw%3D%3D&prvtof=e7MzgkGQ543xbv0WpARolqvh%2Fxryy0rO9jeICRmG%2FNM%3D&poru=7XiYy9%2FU7888qhcv2k8E90PkBIVU0R1hTRCfGg%2FO6%2Ft7hfWAQPs%2BPjl3P1uOUfRCPollrHT3aPvHZSaFAS3SNw%3D%3D&">Click here to proceed</a>. </body>