kenryan Posted May 17, 2018 Share Posted May 17, 2018 I am working with this template: https://www.w3schools.com/w3css/tryit.asp?filename=tryw3css_templates_interior_design&stacked=h The problem is that the html does not validate because there is an instance where the img tag is used without a src attribute. Is this acceptable? Is there a way to get it to validate? Thanks Link to comment Share on other sites More sharing options...
dsonesuk Posted May 17, 2018 Share Posted May 17, 2018 Since it is hiding, use the first img src or, small blank img src instead, since this will be overwritten when the modal is initiated. You also need an empty alt attribute for this img, plus <head>...</head> tags also which holds title, external links, JavaScript, css etc. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now