1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Strict//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Extended Attributes</title>
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body>
<h1>Extended Attributes</h1>
<div class="back"><a href=".">back</a></div>
<p>
Purpose: to verify that the extended attributes work.
</p>
<form action="" method="get">
<ol>
<li>
Click on the edit button on this textarea. Your editor should open and the extension of the file should be <tt>.c</tt>. Type in “test 1” and save and exit. The textarea should be updated within a few seconds.
<br><textarea name="test1" itsalltext-extension=".c">/* Hello World */
#include <stdio.h>
main()
{
for(;;)
{
printf ("Hello World!\n");
}
}</textarea>
</li>
<li>
Click on the edit button on this textarea. Your editor should open and the extension of the file should be <tt>.txt</tt>. Type in “test 2” and save and exit. The textarea should be updated within a few seconds.
<br><textarea itsalltext-extension="/etc/hosts.txt" style="background: red; color: white;">HOSTILE</textarea>
</li>
</ol>
</form>
<div class="back"><a href=".">back</a></div>
</body>
</html>
|