+ 2

What is difference between<a>,<pre>and<p>?

this is my doubt

25th May 2017, 9:41 AM
Lakshay Kumar
Lakshay Kumar - avatar
2 Answers
+ 4
<a> is an anchor tag used to have links. <pre> is a pre-defined tag used to pre defined something means as you write and intend inside the tag it will be displayed just like that. Typically used to display code in on Web pages. <p> is a paragraph tag used to have paragraphs on your web page(s).
25th May 2017, 9:47 AM
TakshakSH
TakshakSH - avatar
0
<a> anchor tag - used to link hyperlinks <pre> preformatted tag - the thing you write in this will appear as it is . <p> paragraph tag - as by name it use to creates paragraphs
25th May 2017, 1:28 PM
Dhruv Saxena
Dhruv Saxena - avatar