detail code

check if html tags matched or not. replace edtion