Stoix51 Posted January 5, 2020 Posted January 5, 2020 Hello guys, this is not a critique but rather a bug report regarding the exercises on your python lessons tutorial: On the final Python If Else exercise, even though I introduce the correct answear "not correct" pops out. I wrote : print("Yes") if 5 > 2 else print("No") but it does not work, I rewrote the code many times but still not results.
Ancient Bison Posted March 24, 2020 Posted March 24, 2020 Same at the Tryit Editor (https://www.w3schools.com/tags/tryit.asp?filename=tryhtml_link_image) <img border="0" alt="W3Schools" src="logo_w3s.gif" width="100" height="100"> was never closed.
Ingolme Posted March 25, 2020 Posted March 25, 2020 The <img> tag is self-closing, so it does not need a closing tag. Ending the tag with " />" is only necessary in XML, not in HTML.
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