+ 3
How to display HTML tags on page?
When I write text on Notepad++ and after run on browser, I see what I've done on text editor. But if I want to show tags, it is nothing will appears. How to show everything like simple text? "Now I want to show you how should be used HTML tags: <html></html> , <body></body> <p>, <br/> etc. You need too use open tag and after closing tag: <title>My first page</title> " It was example. So how to show everything when I running page?
30 Respuestas
+ 24
Use
> for >
and
< for <
+ 9
I think it may be necessary to change all your "<" to "<" and ">" to ">" in order for them to be printed as you want.
So <p>This is a p element.</p> appears as <p>This is a p element.</p>
+ 2
@Martin Taylor @Code Crasher .
Thanks so much. So I see you use < in front and > to end.
Not very easy , but I need to try ;)
I don't know why can not mention you in comment? :(
It is very long way. But it is works. I did same thing easier with <xmp></xmp>
https://code.sololearn.com/WBI3S7seaTGf/#html
@Code Crasher, I used your example.
+ 2
@Code Crasher. On my Android phone works (worked before). Now I'm try on computer mention...nothing :(
I made another one, and works for me:
https://code.sololearn.com/WlCAv8BAOlrm/#html
+ 2
You can use <xmp> </xmp> for this. Actually, this tag is already deprecated, but still working.
+ 2
Use < text >
+ 1
Code Crasher This is in fact the first time I am hearing(actually seeing) about HTML3. I naturally assumed it started from 4 lol. You must have been coding for long.
+ 1
I don't know what that means😒 but it seems like a great achievement👍
+ 1
Code Crasher About the growth of the internet I can't agree more. My generation are really lucky I think.
+ 1
"<",">"
+ 1
Keep the html tags in between<p> </p> tags
0
@Russ I tried to do many things. I know one method <xmp> </xmp> put everything inside these elements, but on page shows not a nice and bit messy. And not how I want to see it. So how Sololearn doing that on our lessons?
0
U don't close the last tag
0
U can use < for < and > for >
0
Life with coding s so much interesting and fascinating, you learn how to develop new ways f making the internet and other graphic packages, worth downloading. Its just a dream cone true for me, as i now k ow how to code very well
0
Use > and &It;
0
Add your profession immediately below your first and last name using <p> paragraph.