+ 4
What is inline and block level elements? What are its uses?
2 Respuestas
+ 34
A block-level element always starts on a new line and takes up the full width available (stretches out to the left and right as far as it can).
The <div> element is a block-level element.
Examples of block-level elements:
<div> <h1> - <h6> <p> <form>
Inline Elements
An inline element does not start on a new line and only takes up as much width as necessary.
This is an inline <span> element inside a paragraph.
Examples of inline elements:
<span> <a> <img> .
hope this helps but I suggest you go to tutorials tab and read about HTML on Sololearn. I advice you.install the app on your phone and you will see and read more on HTML and HTML5..
+ 1
You can create a Navigation bar with it. In HTML it's just a unordered list, but with a little bit CSS you can make some of these bars sticking to your upper display. I just learned it jesterday. Here's a link : https://www.w3schools.com/css/css_navbar.asp