NoBoTo 0 Posted November 30, 2015 Report Share Posted November 30, 2015 (edited) Hi Everybody! I'm newbie in this forum. Forgive me my english, I'm still learning.Look at this example: http://www.w3schools.com/cssref/tryit.asp?filename=trycss_anim_margin When I added "p { border: 1px solid red; }" into the <style></style> I saw a red new line below the first paragraph. So I checked it by google chrome tool for developer (Ctrl + Shift + I). There was an added <p></p> and I don't understand why, because it isn't into the code.Any idea? Regards: Marek Edited November 30, 2015 by NoBoTo Quote Link to post Share on other sites
NoBoTo 0 Posted November 30, 2015 Author Report Share Posted November 30, 2015 OK, now I understand. Ther is incorrect the end tag </p>. I have not noticed Quote Link to post Share on other sites
dsonesuk 914 Posted November 30, 2015 Report Share Posted November 30, 2015 (edited) They have not closed the paragraph so the browser will try its best to render with what its given, in this case it closed the first paragraph with text, then added empty paragraph at end by closing the second. Tooooo late :-) Edited November 30, 2015 by dsonesuk Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.