Jump to content

How to display HTML, CSS, Javascript code in a webpage


sridaran

Recommended Posts

To display HTML, change all < to <, change all > to >.Javascript code should display just fine without any alterations, and the same with CSS. Any < or > symbols are best converted to < and > respectively. Example:Use the <style> tag to add CSS to your website

Link to comment
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
×
×
  • Create New...