answersLogoWhite

0

When should you use p over br?

User Avatar

Wolfaaron

Lvl 1
14y ago
Updated: 8/17/2019

Try to use p over br all the time.

If, for any reason, p does not work for your design then you should use br.

I honestly never use br.

User Avatar

Wiki User

14y ago

What else can I help you with?

Related Questions

Fibonacci series with do while in java?

#include#includevoid main(){int a=0,b=1,c,i=2,n;clrscr();printf("enter no");scanf("%d",&n);if(n==0)printf("%d\n",a);elseprintf("%d\n %d\n",a,b);while(i


What should you do when you like a guy and you know he likes you but you are both to shy to say anything?

quit being shy and say something I think that you should get his mobile number, instant messaging address or email and then talk to him cyberly. It is a lot less nerve-racking and then later on you can have something to talk about in person.<br><br>If that doean't work then you could get a mate to go up and talk to him. <br><br>If you are sure that he likes you back then you could ask him/her to ask him if he wants to go to the cinema or out for a bite to eat. <br><br>If all else fails you just have to pluck up the courage to talk to him. <br><br>Hope it helped =D<br><br>BunnyGirl x<br><p></p><p> </p>


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

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


How do I create a web page that lets a user enter as many values as they wish until the entry of a 0. Then find the sum and the average of all the numbers and show sum and average on screen. In code?

You could do this using Javascript.1) create a textfield2) create a submit button3) define two Javascript variables: a running tally, and a click-counter4) give the button an onclick event that calls a function that works like this:read the value from the text fieldconvert it to a numeric valueif that value is 0 {if the counter != 0 {display the tally and the average (which equals tally over counter)}else{either display an error message, or 0 as both the tally and average - to your taste.}reset both the tally and the counter to 0}else{add the value to the tallyincrement the counter by 1}And here's a working example of how to do it:span.buttonClass{background-color: #C8C8C8;padding: 4px;border-width: 2px;border-style: outset;font-weight: bold;}The Summinator!var tally = 0, counter = 0;function addValue(){var textfield = document.getElementById("addVal");var avgfield = document.getElementById("avgfield");var sumfield = document.getElementById("sumfield");var num = parseFloat(textfield.value);var sum, avg;textfield.value = '';if(isNaN(num)){ // make sure they entered a numberalert("Please enter a numeric value.");}else{if(num != 0){tally += num;counter ++;sumfield.textContent = "";avgfield.textContent = "";}else{if(counter == 0){sum = avg = 0;}else{sum = tally;avg = tally / counter;}sumfield.innerHTML = "The sum is " + sum;avgfield.innerHTML = "The average is " + avg;tally = counter = 0;}}}Add ValueYou can even make it a little nicer by having it output the sum and average each time a number is entered, rather than waiting for the zero input (which would still reset things). That actually simplifies the code too, and would look like this:...if(isNaN(num)){ // make sure they entered a numberalert("Please enter a numeric value.");}else{if(num != 0){tally += num;counter ++;sum = tally;avg = tally / counter;}else{sum = avg = tally = counter = 0;}sumfield.innerHTML = "The sum is " + sum;avgfield.innerHTML = "The average is " + avg;}...


What is the code for inserting a line break?

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


What do you call language that insults God?

bad == P>bad </P> <P>P><BR><P> <SPAN class="" style="POSITION: static" textContent="null">blasphemy / blasphemous</SPAN><BR><P><SPAN class="" style="POSITION: static" textContent="null">sacrilegious</SPAN> </P><BR><P> </P><BR></P>


You use the br tags to break a line rather than a p tags?

The P tags would be for paragraph. so if you are starting a new paragraph usit, if you just want to break the line and start with a new one, use BR.


Which has a more polar bond P-Cl or P-Br?

The P-Cl bond is more polar than the P-Br bond. This is because chlorine (Cl) is more electronegative than bromine (Br), so it attracts the shared electrons in the bond more strongly, leading to a greater difference in electronegativity and thus a more polar bond in P-Cl compared to P-Br.


How do you add a bullet in HTML?

<li>I am a bullet</li> You may want to use <br /> or <p></p> to organize the layout.


How to display JPEG image in Turbo C 3.0 or lesser?

unsigned char far *VIDEO = (char far *)0xa0000000l;<br> // pointer to video memory<br> // to plot pixel-> VIDEO[y*320+x]=color; |or| VIDEO[(y<<8)+(y<<6)+x]=color;<br> // the 2 bit shifts should be faster<p> so simply load your image into a segment of memory<br> and use:<p> memcpy(*VIDEO, *IMAGE, x) //where x is the number of BYTES to copy<p> to load a RAW image (RAW file format)<br> <br> FILE *in;<p> if ((in = fopen("image.raw", "rb")) == NULL)<br> {<br> printf("Ooops cannot open file :(\n", filename);<br> exit(1);<br> }<br> fseek(in, 18, SEEK_SET); //skip header<br> fread(palette, 768, 1, in); //load palette<br> fread(IMAGE, width*height, 1, in); //load image<br> fclose(in); //65536<p> you sould now change your palette to match by using your favorite<br> palette set routine<p> remember: to write to video you must me in video mode!!!<p> _AX=0x13; //load 13hex (19 dec) into register AX<br> geninterrupt(0x10); //put register ax into interrupt 0x10 (video int)<p> and use _AX=0x03; to set text mode<p> create an array for palette<br> char palette[768]; // (256*3 [one for RGB])<p> <br> change it then copy your palette to video:<p> <br> outp(0x3c8,0);<br> for (i = 0; i < 256; i++)<br> {<br> outp(0x3c9, palette[i*3+2]);<br> outp(0x3c9, palette[i*3+1]);<br> outp(0x3c9, palette[i*3+0]);<br> }<p> <br> This covers the basics for displaying images. However, to load a JPEG file requires that you either research the JPEG file format and write your own code or use a JPEG library (which you may have to compile with TC3). There are many free JPEG libraries available, and free libraries for other graphical formats including BMP, PNG, TIFF and TGA. If you wish to write your own JPEG handling functions, see the related links below for technical details about this image file format.


What is the HTML code to create a space?

Use: <P> new paragraph</p> or <br>Line break (no closing tag required)


What does the HTML br do?

The <br> 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 <p> tag instead, but when you need a new line, like in an address, it's perfect. Code like this: <p>I like HTML<br>More than C</p> Produces output similar to... I like HTML More than C