Inline elements do not start on new line. Eg. <a>, <span>, <strong>, <input> Block elements start on a new line.Eg. <div>, <ul>, <h1> to <h6>
Are you preparing for a frontend interview? Make sure you're ready with our comprehensive list of HTML interview questions.
Visit us at