Difference between revisions of "Fieldset, Label, and Legend Elements"

From Level Access Web Labs
Jump to navigation Jump to search
Line 30: Line 30:
 
     </div>
 
     </div>
 
</fieldset>
 
</fieldset>
 +
 +
 +
<br><br><br>
 +
<h3> Fieldset and Legend tag with H2 inside legend</h3>
 +
<fieldset id="feedbackIntro">
 +
<legend><H2> Was this content helpful? </H2></legend>
 +
<button id="feedbackYes" class="feedbackHelpful" title="Yes" data-value="yes">Yes</button>
 +
<button id="feedbackNo" class="feedbackHelpful" title="No" data-value="no");">No</button>
 +
</fieldset>
 +
 +
<br><br><br>
 +
<h3> Fieldset and Legend tag with H2 outside the legend</h3>
 +
<fieldset id="feedbackIntro">
 +
<H2><legend> Was this content helpful? </legend></H2>
 +
<button id="feedbackYes" class="feedbackHelpful" title="Yes" data-value="yes">Yes</button>
 +
<button id="feedbackNo" class="feedbackHelpful" title="No" data-value="no");">No</button>
 +
</fieldset>
 +
 +
<br><br><br>
 +
<h3> Regular Fieldset and Legend tag</h3>
 +
<fieldset id="feedbackIntro">
 +
<legend> Was this content helpful?</legend>
 +
<button id="feedbackYes" class="feedbackHelpful" title="Yes" data-value="yes">Yes</button>
 +
<button id="feedbackNo" class="feedbackHelpful" title="No" data-value="no");">No</button>
 +
</fieldset>
 +
 +
 
</form>
 
</form>
 
</div>
 
</div>
 
</html>
 
</html>
 +
 +
 +
<html>
 +
 +
 +
 +
 
[[Category:Elements]]
 
[[Category:Elements]]

Revision as of 20:59, 20 April 2016

Shipping Address:



Fieldset and Legend tag with H2 inside legend

Was this content helpful?




Fieldset and Legend tag with H2 outside the legend

Was this content helpful?




Regular Fieldset and Legend tag

Was this content helpful?


<html>