For instructional purposes, I need to write <div> as a string in HTML.
<div>
How can I write this, for example, in between a paragraph tag: <p> Your <div> here... </p> without it actually becoming a <div> element?
<p> Your <div> here... </p>
Use <xmp> tag
<xmp>
<xmp><div></xmp>
Use HTML entities. Read this page for more details:
https://www.w3schools.com/html/html_entities.asp