Source code

Revision control

Copy as Markdown

Other Tools

<!DOCTYPE html>
<title>Reference for legend position: relative</title>
<style>
#fieldset2 {
background: lime;
border: 2px solid lime;
width: 200px;
padding: 0;
margin: 0;
}
#legend2 {
background: #00ffff;
}
</style>
<p>"Legend" should be shown.</p>
<fieldset id="fieldset2"><legend id="legend2">Legend</legend></fieldset>