The <p> tag defines a paragraph. The <p> tag is supported in all major browsers. It is possible to align the text left, right, center or justified using the p tag.
Browsers automatically add some space (margin) before and after each <p> element. The margins can be modified with CSS (with the margin properties).
Paragraphs are controlled by HTML <p></p> tags. Here is an example of two paragraphs: <p>This is paragraph 1.</p> <p>This is paragraph 2.</p>
HTML was designed to allow for any variation of case in the tags. However, new HTML 5 and CSS rules require your HTML tags to be in lower case. For example <P></P> would be acceptable in HTML 4, but <p></p> would be required under the HTML 5 standards.
<p> Its tag based </p>
<p>Tamil</p>
HTML denotes paragraphs by the use of what are called "p tags" In the code, <p> opens a paragraph while </p> closes one.
Paragraph.
You could comment it... <!---<p>(Commented)</p>-->
<p> tag means new paragraph
If you want to see an example HTML code for a web page, you can simply right click on any web page and select "display source code". In Microsoft Internet Explorer, you can click View Source in the toolbar. A Quick Example: <html> <head> <title>THE TITLE OF THE PAGE</title> </head> <body> <p>Hello, This Is An Example Page</p> <br> <br> <p>This Is Another Paragraph</p> <p>And So Is This</p> </body> </html> As you can see, HTML pages work around tags. (E.g. <html> and </html>) ---------------------------------- Some basic tags: <html> & </html> -- start and end of the page <head> & </head> -- properties hidden to the user, such as page title <body> & </bdoy> -- the page's body, the actual website the user will see <title> & </title> -- page title, this has to be inside the <head> section <br> -- line break (like pressing enter) <p> & </p> -- a paragraph of text ---------------------------------- For examples with clear HTML code, see related links.
Below is an example of a very basic webpage: <html> <head> <title>My First Webpage</title> </head> <body bgcolor="yellow"> <p>This is a yellow webpage</p> </body> </html>
JavaScript is written in an HTML document. You start it with this tag:and end it with:
The CSS declaration that allows you to select an individual HTML tag is the id selector. For instance: #ourP {color: red;} <p id="ourP">This text will be red</p> <p>Not this text, though</p> If you want to select a particular type of HTML tag (like, say, all the paragraphs) you use an element selector like so: p {color:blue} <p>This text will be blue</p> <p>This too</p>