Printing tags in html
What if I wanted to print a tad in html for example say i wanted to teach someone how to use a specific tag like<html> How do you do that?
you can write < and > for < and >. So <html> will be written as <html>
cristalLysard you can't use PHP in HTML, you have to have special compiler and file must have .php type.
It's kind of stretch, but you could use php: <?php echo("<html>"); ?> This would work with js as well
Yeah you're right, I'm too used to just save webpages as .php files to include headers... sorry about that 😅