As we know HTML is a tag based language, so if we use tags to design an Iframe in the HTML page. We can not use “<” or “>” sign in HTML because HTML consider this statement as a tag. So we have to use entities to write such elements inside an Iframe.
1) For “<” sign we use < (lt means less than)
2) For “>” sign we use > (gt means greater than)
3) For symbol of copyright(©) we use (©)
4) For Euro(€) sign we use (&euro)
Let us write a small program using all the above entities
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<h1>How are you < Let me check > && < Also Answer my other question > €©</h1>
The output will be like
How are you < Let me check > && < Also Answer my other question > €©
We can use different types of symbol by just learning their entity names also because entity names are supported by all browsers. You should now check for entities and try using them in your own script.