Home > Article > Web Front-end > HTML COMPONENTS Part 8
===TODAY HTC===
<HEAD> <PUBLIC:COMPONENT tagName="DAY"> <<a href="http://pr.knowsky.com/">PR</a>OPERTY NAME="value"></PROPERTY> <ATTACH EVENT="oncontentready" ONEVENT="fnInit()"></ATTACH> </PUBLIC:COMPONENT> <STYLE> .clsDay { width:50; height:50; background-color: pink; align:center; text-align:right; } </STYLE> <SCR<a href="http://ip.knowsky.com/">ip</a>T LANGUAGE="<a href="http://www.knowsky.com/article.asp?typeid=160">java</a>Script"> <!-- function fnInit() { document.body.innerHTML = '<FONT COLOR="blue">' + element.value + '</FONT>'; document.body.className = "clsDay"; defaults.viewLink = document; element.appointments = ""; element.date = element.value; } function fnShowA<a href="http://ppt.knowsky.com/">PPT</a>s() { newAppointments = prompt("Add your appointment:", element.appointments); if (newAppointments != null) element.appointments = newAppointments; document.body.innerHTML = '<FONT COLOR="blue">' + element.date + '</FONT>' + "<BR>" + '<FONT SIZE="1">' + element.appointments + '</FONT>'; } // --> </SCRIPT> </HEAD>
The above is the eighth content of HTML COMPONENTS. For more related articles, please pay attention to the PHP Chinese website (www.php.cn)!