Jump to content
xisto Community
Sign in to follow this  
lucidvig22

Issue With Html Display

Recommended Posts

I apologise if this topic has been posted twice for some reason i was logged out when i hit post the last try.
The following is some basic html i am trying to run as i am just getting into html scripting etc and it does not display properly in the browser. Instead of displaying as it should it litteraly displays as the code listed below. Any ideas?

<html><body><h1>My First Heading</h1><p>My first paragraph.</p></body></html>

Edited by moderator (see edit history)

Share this post


Link to post
Share on other sites

Are you sure you saved it as an html file?

Try replacing the code with this:

<html><header><title>something</title></header><body><h1>My First Heading</h1><p>My first paragraph.</p></body></html>

Edited by moderator (see edit history)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.