What's new
HTML Forums | An HTML and CSS Coding Community

Welcome to HTMLForums; home of web development discussion! Please sign in or register your free account to get involved. Once registered you will be able to connect with other members, send and receive private messages, reply to topics and create your very own. Our registration process is hassle-free and takes no time at all!

How do you id two videos on a webpage?

jsoft

New member
All code works in codepen and the last thing the validator error is that I cannot obviously use second as an id for my vimeo video. I have main id for the youtube video but I get I cannot reuse main id again. I know there is a solution to change the word second. Can I ask how I can code this correct? <main id=my-youtube class='youtube-first'><iframe width="420" height="345" src="
">
</iframe>
</main> <second id=my-vimeo class='vimeo-first'><iframe width="420" height="345" src="https://player.vimeo.com/video/146165708?h=2a91f70909&title=0&byline=0">
</iframe></second>
 
Back
Top