HTML Paragraphs vs Line Break



Paragraphs
 are useful especially when features are posted. It is also very useful in understanding the written article of a webpage properly, like how News and Blog sites have been posting as their content.

Paragraphs are another element of HTML that has an opening and closing tag. An opening tag, <p>, is declared when starting a new paragraph and a closing tag,</p>, is declared by ending the paragraph or before starting another paragraph.

Most browsers, however, display a new paragraph even by without the end tag, but using the correct syntax is more recommended to provide error-free results.

Line Break means a new line. A bit similar to a paragraph though a paragraph gives more space between the first paragraph between the second paragraph.

photo by: Unique Method



HTML Heading

HTML Headings are used for Headings only. Headings have a start tag and an end tag. It is important to remember than web visitors read a web page's heading first.

Headings are written as...

<h1>This is an H1 Heading</h1>

Headings are defined through the use of <h1> to <h6> elements or tags. The smaller value of your heading is, the bigger size of your font is.

Examples:

This is H1

This is H2

This is H3

This is H4

This is H5
This is H6

HTML Elements and Attributes

An element is everything from the start to the end tag. Some elements, however, have empty contents.

Start TagContentEnd Tag
<b>Text are strong</b>
<br/>


Some elements have attributes.


An attribute can be identified within an element by finding the equal sign (=). Attributes give more information on HTML elements and are always introduced in the starting tag of an element.

More on attributes on the next post.

Extended Search

Custom Search
Hello World