6.8. example

The <example> and </example> tags are used to format text within a document and is great for adding emphasis to show examples of code, exercises, and more.

The <example> tag set should be given an ID and title:

	<example id="static-ip">
	  <title>Static IP Address using DHCP</title>

<screen width=60>
<computeroutput>
host apex {
   option host-name "apex.example.com";
   hardware ethernet 00:A0:78:8E:9E:AA; 
   fixed-address 192.168.1.4;
}
<computeroutput>
</screen>

	</example>

The output:


host apex {
   option host-name "apex.example.com";
   hardware ethernet 00:A0:78:8E:9E:AA; 
   fixed-address 192.168.1.4;
}

Example 6.1. Static IP Address using DHCP