+ 2
What is difference between<a>,<pre>and<p>?
this is my doubt
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).
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