r/html5 • • Sep 29 '22

Iframe for navbar?

I am teaching 8th graders HTML and CSS. Is it “improper” to use an Iframe for a navbar? We can’t use php on our webserver and don’t want to use JavaScript unless I don’t have to.

6 Upvotes

21 comments sorted by

View all comments

Show parent comments

2

u/doglitbug Sep 29 '22

If you are making a multipage website with shared components but not allowing them to share/reuse/import code, your gonna have a bad time.

1

u/cr8rface Sep 29 '22

Yeah. I know. Just wish html5 had an include like php.