No, HTML5 is a markup at the end of the day. Comparing JS and HTML, is like comparing apples to oranges. All HTML5 does is include new tags to use when building a web app for you or search engines to use:
https://www.w3schools.com/html/html5_intro.asp. It doesn't at all handle any logic like JS would, if that's what you are asking.
Same can almost go for CSS. It's a description language, it doesn't handle any logic (except for select queries). However, CSS is starting to implement variables, but you can only use those for
attributes. Not write a fully functional app with CSS alone.