Cant HTML be used for client side event handling??? can someone please explain why!!

Recommended Answers

All 2 Replies

HTML is a static markup language. It has no support for events, just layout.

pritaeas is right, HTML is just that. HyperText Markup Language. It allows you to semantically markup your content. Events are a browser and UI thing and are basically the realm of Javascript. That being said what are you doing that you need events for. JS is pretty common and you can probably use it to achieve your goals

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.