What is the difference in using <p> or <head> or <body> | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What is the difference in using <p> or <head> or <body>

when do i use each?

29th May 2017, 1:53 PM
Spiros Skoyras
Spiros Skoyras - avatar
3 Answers
+ 18
Since you're Greek : Το <p> μπαινει μεσα στο <body> ετσι ωστε να ειναι ορατο. Οτι υπαρχει στο <head> δεν φαινεται, εκει βαζεις τα κρυφα στοιχεια της σελιδας... Το <p> δημιουργει μια νεα παραγραφο σε νεα σειρα, χωρις αυτο (αν βαλεις τα δεδομενα χυμα στo <body>) ολα θα ειναι στην ιδια σειρα εκτος αν το κειμενο ειναι πολυ μεγαλο......
29th May 2017, 2:04 PM
Valen.H. ~
Valen.H. ~ - avatar
+ 1
and what does <span> mean and where do i use it
29th May 2017, 2:07 PM
Spiros Skoyras
Spiros Skoyras - avatar
0
<html> element is the root element of an HTML page  <head> element contains meta information about the document.  <p> element defines a paragraph more info: https://www.w3schools.com/html/html_intro.asp
29th May 2017, 2:08 PM
Eranga
Eranga - avatar