I want to design a website...

  • 主题发起人 主题发起人 4Sale
  • 开始时间 开始时间

4Sale

知名会员
注册
2005-08-22
消息
402
荣誉分数
7
声望点数
128
however, for example, after i type the following as a test,

(html)
(head)
The content of the body element is displayed in your browser.
(/head)
(/html)

---pease treat () as <> please----

when i use IE to open the page, how come it shows the html code, rather than "The content of the body element is displayed in your browser."???

what's the matter, i must be missing something here...

who can help??
 
用 xmp, 与pre不同的是, xmp可以包含 HTML tags
 
your content should be within (body)(/body)

save as "name.html"
 
yes, you missed >> tag


(html)
(head)

>
The content of the body element is displayed in your browser.>>
>

(/head)
(/html)
 
where is the body tag? qqh me if need more help.
 
This is just programming stuff, but not design. You may use a lot html template available on the internet. Good luck!
 
最初由 4Sale 发布
however, for example, after i type the following as a test,

(html)
(head)
The content of the body element is displayed in your browser.
(/head)
(/html)

---pease treat () as <> please----

when i use IE to open the page, how come it shows the html code, rather than "The content of the body element is displayed in your browser."???

what's the matter, i must be missing something here...

who can help??

What's your domain name? Could you please leave a contact #/email for more discussion. thanks.
 
the key problem is brower doesn't recognize your file as a html instead it treats the file as a plain txt. So you'd better check charset of your file or if there is a hidden charactor in ur file.
 
后退
顶部