how do i use code in html (i use dreamweaver)
when i put a code ..what i get on my page:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ConsoleApplication1
{ class Program
{ static void Main(string[] args)
{ Student student = new Student();
student.Name = "Dani";
student.Score = 200;
Console.WriteLine(student.Name);
Console.WriteLine(student.Score);
Console.WriteLine("======");
Person person = new Person();
person.Name = "Oleg";
Console.WriteLine(person.Name);
} }
/> }
class Person
{
public string Name { get; set; }
}
class Student:Person
{
public int Score { get; set; }
}
but i want to put identation like i can do in this site using :
CODE][/CODE
how do you do it in html