100 likes | 260 Views
With HTML you can create your own Website. This tutorial teaches you everything about HTML. For full HTML course visit our website www.training-n-development.com
E N D
Learn HTML BasicsLesson No : 02 Publisher : Attitude Academy
LESSON NO :- 02 HTML
HTML Paragraphs HTML documents are divided into paragraphs. The HTML <p> element defines a paragraph. ... Note, Browsers automatically add some white space before and after a paragraph. The HTML <p> element defines a paragraph. <!DOCTYPE html><html><head><title>Page Title</title></head> <body> <p>This is a paragraph.</p> <p>This is a paragraph.</p> <p>This is a paragraph.</p> </body> </html>
HTML Block Elements Block-level Elements Every HTML element has a default display value depending on what type of element it is. 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>
HTML Inline Elements • Inline Elements • The <span> element is an inline element that is often used as a container for some text. An inline element does not start on a new line and only takes up as much width as necessary. • Examples of inline elements: • <span> • <a> • <img> The <span> element is a block-level element. HTML Grouping Tags
PRACTICAL IMPLEMENTATION