Question:

Basic Html Writing On Wordpad!?

by Guest10800  |  earlier

0 LIKES UnLike

I have wrote a basic html and saved it as basic.html, this is what my code looks like:

<!DOCTYPE= html PUBLIC =//W3C//DTD HTML 4.01 Transitional//EN"><html><head><title>Can... Facts</title></head><body><h1>Cannabis "Highs" And Lows<h1><a href="http://www.talktofrank.co.uk/"> TALK TO FRANK</a><h2>Definitions</h2><dl><dt>Can... botanical name for the plant from which marijuana comes.</i></dd><dt> Spliff</dt><dd><i>A Cannabis Cigarette</i></dd></dl><p>Cannabis Is A <em>Highly Dangerous</em> Drug Even Though Many People Dont Realise</p></body></html>

When I open the webpage at the top before what i want it to look like it has alot of writing:

{\rtf1\ansi\ansicpg1252\deff0\deflang205... Times New Roman;}{\f1\fswiss\fprq2\fcharset0 Arial;}} {\*\generator Msftedit 5.41.21.2507;}\viewkind4\uc1\pard\sb100\... \f1\fs20

Im Just Wondering Why?

And also just noticed at the bottom it says:

\par }

Anyone able to tell me what I've done wrong?

Thanks for your help

 Tags:

   Report

2 ANSWERS


  1. Try copy and pasting into notepad instead of wordpad. Wordpad is formatted, nopepad is not, so a few little problems are caused when it picks up the fonts and stuff.

    Then just save it and open it the same way and it should be fine!


  2. First of all I always use notepad.

    I entered your html into a notepad and saved it to my desktop as new.htm -  Now, I did not edit nor change anything..

    This is what it pulled up when I did.

    Cannabis &quot;Highs&quot; And Lows

    TALK TO FRANK

    Definitions

    Can... botanical name for the plant from which marijuana comes.

    Spliff

    A Cannabis Cigarette

    Cannabis Is A Highly Dangerous Drug Even Though Many People Dont Realise

    Your code is alright, try what I did and see if it works.  Wordpad may be too complex.. Try using the notepad...........

Question Stats

Latest activity: earlier.
This question has 2 answers.

BECOME A GUIDE

Share your knowledge and help people by answering questions.
Unanswered Questions