.HeaderName:after{content: "<div class=\"Name2\">text</div>";} .Name2 {color: red;}
考虑使用jQuery,而不是,如:
$(".HeaderName").after("your html here");