Login | Register | FAQ
Anonymous

using notepad

+ Post a reply

7 posts Page 1 of 1


using notepad

by PatoKirui » Sat Jul 28, 2012 7:27 pm

I have learn how to use notepad to write html pages. But i have a big problem using it to display html elements on a browser.
I want to use notepad to display for example these tags
<html>
<head>
<title> using notepad</title>
</head>
<body>
<p>notepad is the simplest...</p>
<ul>
<li>safari</li>
<li> firefox</li>
</ul>
</body>
</html>
so that a user can see the above elements as text.
Please can someone help on how to use notepad to display it or if not possible, suggest for me the ultimate web editor that can solve this problem with ease.
Thanks
patokirui
User avatar

PatoKirui

  • Posts: 46
  • Joined: Sun Jun 03, 2012 12:24 pm
  • Location: Eldoret, Rift Valley, Kenya.

Re: using notepad

by atik » Sat Jul 28, 2012 8:18 pm

User avatar

atik

  • Posts: 471
  • Joined: Mon Oct 17, 2011 4:55 pm

Re: using notepad

by PatoKirui » Sun Jul 29, 2012 7:44 am

Now i understand how to use notepad to show html tags.
To represent any html element as basic text we only need to use html entities so as to be displayed by browsers as text(which are actualy html tags) .
Example:
to display a tag like <html> we represent it with an entity for less-than(<) as &lt then we write html as it is, and finaly we write &gt for greater-than(>).
By doing so, the browser will interprates them as text which will be:-
<html>
but not a code anymore because we use html entities to display them.

Thanks alot.
User avatar

PatoKirui

  • Posts: 46
  • Joined: Sun Jun 03, 2012 12:24 pm
  • Location: Eldoret, Rift Valley, Kenya.
--

•Greatness isn't given, it is achieved.

Re: using notepad

by atik » Sun Jul 29, 2012 7:47 am

User avatar

atik

  • Posts: 471
  • Joined: Mon Oct 17, 2011 4:55 pm

Re: using notepad

by PatoKirui » Wed May 15, 2013 8:17 pm

Thanks atik
User avatar

PatoKirui

  • Posts: 46
  • Joined: Sun Jun 03, 2012 12:24 pm
  • Location: Eldoret, Rift Valley, Kenya.
--

•Greatness isn't given, it is achieved.

Re: using notepad

by PatoKirui » Thu May 16, 2013 8:52 pm

Its true cubesquare. It happened that i was reviewing the great tutorial of html that i came across this question of old...the time i was strugling learning html from this site. Surely some small questions like this can actualy take us by far, reflecting how i were at those times...but iam wondering why Html.net did not have a regard to add this importand entities in their html tutorial!
Anyway i had realy understood it at the time atik refer me to w3schools.com to learn it(entities).
User avatar

PatoKirui

  • Posts: 46
  • Joined: Sun Jun 03, 2012 12:24 pm
  • Location: Eldoret, Rift Valley, Kenya.
--

•Greatness isn't given, it is achieved.

Re: using notepad

by PatoKirui » Mon Jun 03, 2013 7:42 pm

User avatar

PatoKirui

  • Posts: 46
  • Joined: Sun Jun 03, 2012 12:24 pm
  • Location: Eldoret, Rift Valley, Kenya.


+ Post a reply

Page 1 of 1