how to disable the default newline that some HTML elements are createing.
For example:
<p> Hello World</p> <p> Welcome to StackOverflow</p>
The browser will render that above HTML code, and print two lines of text, one above the other, I would like that the browser will put these two paragraphs side by side. How am i doing that (it is more general than specific to the paragraph element itself)?
My point with the above question is that I want to be able to structure a simple webpage without some elements being rendering one above the other, since i want for example the navigation section to be on the left side and the content section to be to the right of the navigation section.
I know i can do that with CSS (the positioning of the elements), but i am don’t have the time to spent nor have the need for the design side of a webpage, all my purpose is to do a simple positioning of elements.
for those kind of elements use span instead of a p tag something like this