answersLogoWhite

0


Best Answer

< br > and < p > are both very different in HTML Coding. < br > stands for "Line Break". If you were to insert that in your HTML, it would be like typing the Enter or Return key on your keyboard. This comes in handy a lot, and the avid web designer should use it frequently. < p > on the other hand, stands for "Paragraph." It is used to organize your HTML, so that it will be easy to edit it later on. Typing < p > says that you are starting a new paragraph, and typing < /p > says that you are ending one. Hope this helps!
-jjshammas P.S. Just so you know, take out the spaces in the HTML Codes listed above.

User Avatar

Wiki User

15y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is the difference between br and p in HTML?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Basic Math

What is the difference between enable and unable?

One has an 'E' and one has a 'U'... simple ;P


What is the difference between a root and a factor?

x=5 based on the information above... the factor is: (x-5) and the root is: 5 :P XD LOL DX :) :( ;) ;( :o


The sum or difference of p and q is the of the x-term in the trinomial?

coefficient


The sum or difference of p and q is the coefficient of the in the trinomial?

X-term


What is the first step to use in detecting data type mismatch errors?

Better if you use javascript or another scripting language to analyse what is sent to the server in the first place. Most of the browsers support javascript.Suppose there is an input type of text of the simple html formName:Age : // The button below makes sure that client side validation is done otherwise it doesn't send data to servers // Here the "return checkData()" forces the client-side validation to occur before sending it to serverfunction checkData(){var char = /^[a-zA-Z]+$/;var num= /^[0-9]+$/;var name = document.getElementById("name");var age = document.getElementById("age");if(name.value==""name.value.match(num)){alert("Namespace cannot contain numericals!!");return false;}else if(age.value==""age.value.match(char)){alert("Age cannot be empty or contain characters!!");return false;}else{form1.form.submit();return true;}}// The neat little code tells if javascript is enabled/disabled in browserYour browser doesn't support javascriptMost of things would be easy this way but alas things aren't so easy. You also need to validate data on the server side using echo statements & control loops before finally posting data in mysql table

Related questions

What is the code for inserting a line break?

Line breaks are inserted using the empty BR entity: &lt;br /&gt; You can enclose a paragraph inside a P entity: &lt;p&gt;This is a paragraph&lt;/p&gt; Check the w3schools.org site for HTML how to's.


What is the Html tag for break?

A Line Break Is &lt;br&gt; A Paragraph Break Is &lt;p&gt; or some browsers accept &lt;br /&gt; Hope that helps!!!


How are CSS files created for and used by website pages?

How toYou can use CSS as an external file imported into a HTML file or CSS can be embedded into the HEAD section of a HTML page.Creating/Editing a CSS fileYou can create a CSS file by saving a .txt file as a .css file type. The easiest way though to edit CSS is by searching the web to find a Text Editor, an editor is usually free to download and will allow a user to manipulate CSS and HTML files and to save them.Importing CSS into a HTML fileTo import a CSS file into a HTML file a STYLE declaration must be made inside the HEAD tags of the document and a link to the CSS file is placed within the STYLE tags, see example below.Linking CSS into a HTML fileTo link a CSS file into a a HTML file, a LINK tag must be used and placed within the HEAD tags. Embedding CSS into a HTML fileTo embed CSS styles into a HTML file a STYLE tag must be used to contain the CSS, see example below.


How do you add a bullet in HTML?

&lt;li&gt;I am a bullet&lt;/li&gt; You may want to use &lt;br /&gt; or &lt;p&gt;&lt;/p&gt; to organize the layout.


What are 'on' and 'off' tags in HTML documents?

In HTML, all tags are elements and all HTML elements other than empty elements and &lt;p&gt; elements require a start and end tag to delimit the element's content. The &lt;br&gt; tag is an example of an empty element (there is no &lt;/br&gt; tag). However, an empty element can also be closed by the start tag, such that &lt;br /&gt; is acceptable (&lt;br /&gt; is a requirement of XHTML but not HTML).


What is a tag List 10 HTML tag?

There are various tags in HTML that can be used. 10 of them are: p, a, br, head, body, html, title, script, link, style.


What is the HTML code to create a space?

Use: &lt;P&gt; new paragraph&lt;/p&gt; or &lt;br&gt;Line break (no closing tag required)


Example of webpage in HTML?

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: &lt;html&gt; &lt;head&gt; &lt;title&gt;THE TITLE OF THE PAGE&lt;/title&gt; &lt;/head&gt; &lt;body&gt; &lt;p&gt;Hello, This Is An Example Page&lt;/p&gt; &lt;br&gt; &lt;br&gt; &lt;p&gt;This Is Another Paragraph&lt;/p&gt; &lt;p&gt;And So Is This&lt;/p&gt; &lt;/body&gt; &lt;/html&gt; As you can see, HTML pages work around tags. (E.g. &lt;html&gt; and &lt;/html&gt;) ---------------------------------- Some basic tags: &lt;html&gt; &amp; &lt;/html&gt; -- start and end of the page &lt;head&gt; &amp; &lt;/head&gt; -- properties hidden to the user, such as page title &lt;body&gt; &amp; &lt;/bdoy&gt; -- the page's body, the actual website the user will see &lt;title&gt; &amp; &lt;/title&gt; -- page title, this has to be inside the &lt;head&gt; section &lt;br&gt; -- line break (like pressing enter) &lt;p&gt; &amp; &lt;/p&gt; -- a paragraph of text ---------------------------------- For examples with clear HTML code, see related links.


What are the codes in HTML?

There are loads of them and can be complicated if you are trying to learn all of tags. I suggest you use http://www.w3schools.com to learn HTML. Here are some of it &lt;a&gt; (links) eg &lt;a href="http:\\www.URL address.com"&gt;label&lt;/a&gt; &lt;p&gt; (paragraphs) eg &lt;p&gt;A paragraph&lt;/p&gt; &lt;img&gt; (images) eg &lt;img src="name.format"&gt; &lt;HTML&gt; (root) eg &lt;HTML&gt;some HTML code&lt;/HTML&gt; &lt;head&gt; (title\scripting) eg &lt;head&gt;&lt;title&gt;name of title&lt;/title&gt;&lt;/head&gt; &lt;body&gt; (info) eg &lt;body&gt;Some HTML code and information&lt;/body&gt; &lt;br&gt; (enter) eg &lt;p&gt;Some HTML code&lt;br&gt;(doesn't make a difference if you just press enter) &lt;hr&gt; (hozr. line) eg Hello&lt;hr&gt;I just drawed a line!


What is a tag used for providing space betwwn two lines in HTML?

you can either use an empty paragraph (&lt;p&gt;&lt;/p&gt;) or a line break &lt;br /&gt;


What is the tag used to start and finish a paragraph in HTML?

Answer: to start a new paragraph u use &lt;p&gt; then to end we use&lt;/P&gt; Also in case you want to break from a line u can use &lt;br&gt; and end with &lt;/br&gt;


What does the HTML br do?

The &lt;br&gt; tag creates a line-break. This causes the carriage to return to the beginning of the next line. It's similar to hitting "enter" on the keyboard. If you need a blank line (similar to a paragraph) you can use two in succession. If you need an actual paragraph, you should use the &lt;p&gt; tag instead, but when you need a new line, like in an address, it's perfect. Code like this: &lt;p&gt;I like HTML&lt;br&gt;More than C&lt;/p&gt; Produces output similar to... I like HTML More than C