Why i am unable to style paragraph tag which comes after image tag??i am trying to style my paragraph using external style sheet but i am unable to style paragraph which comes just after img tag
Here is my html code.Its similar to my html codeĀ
<html>
<head> </head>
<body>
<p class="abc">sth</p>
<p class="xyz">sth</p>
<img src="sth.jpg>
<p class="top">sth sth sth</p>
</body>
BTW, you can replace the <img> tag by <div> or <span> tags, with id and/or class attributes, and then control the image URI from inside of the CSS file (using background-image property), instead of encoding it permanently it in HTML.
Then attach your the real code...
We need to be able to see what you see on your browser's.
Did you try float: none etc. ?
https://www.w3schools.com/css/css_float.asp
It controls whether the next section (in your case paragr