<!DOCTYPE html>
<html lang="en" xmlns="http://www.w3.org/1999/xhtml">

<!--
    Examples from CS 328 - Week 3 Lecture 2 - 2026-02-04

    by: Sharon Tuttle
    last modified: 2026-02-05

    you can run this using the URL:
    https://nrs-projects.humboldt.edu/~st10/s26cs328/328lect03-2/328lect03-2.html
-->

<head>
    <title> S26 CS 328 - W3-2 examples </title>
    <meta charset="utf-8" />

    <link href="https://nrs-projects.humboldt.edu/~st10/styles/normalize.css"
          type="text/css" rel="stylesheet" />

</head>

<body>
    <h1> CS 328 - Our First Form </h1>

    <form action="https://nrs-projects.humboldt.edu/~st10"
          method="get">
        <fieldset>
	<legend> example textfields </legend>
	    <p>
	    <label for="desired_cheese"> What is your current cheese choice?
	        </label>
	    <input type="text" name="cheese_choice" id="desired_cheese"
	           placeholder="cheese name here" />
	    </p>

            <p>
    	    <label for="val_ex"> Textfield with a value attribute </label>
	    <input type="text" name="demo_val" id="val_ex"
	           value="compare to placeholder" />
	    </p>
	</fieldset>
	
	<fieldset>
	    <legend> submit buttons that do NOT send info to app tier
	    </legend>
	    <p>
               <input type="submit" />
	    </p>
	    <p>
	       <input type="submit" value="CLICK MEEEEEEEEE" />
	    </p>
	</fieldset>
	<p>
	   <input type="submit" name="NO_ME" value="ME ME!" />
	</p>
    </form>
  
    <footer>
    <hr />
    <p>
        Validate by pasting .xhtml copy's URL into<br />
	<a href="https://validator.w3.org/nu">
            https://validator.w3.org/nu
        </a>
	or  
        <a href="https://html5.validator.nu/">
            https://html5.validator.nu/
        </a>
    </p>
    </footer>
</body>
</html>