QUESTION IMAGE
Question
what is the difference between a markup language and a programming language?
answer 1
markup languages cannot give direct instructions to the computer while programming languages can.
answer 2
you cannot use programming languages to create apps, while you can with markup langauges.
answer 3
programming languages cant be used in the browser, while markup languages can
answer 4
html and css are programming languages.
Markup languages like HTML are for structuring content (e.g., defining headings, paragraphs). They don't have logic - based operations like loops or conditionals that can directly instruct a computer to perform complex tasks. Programming languages (e.g., Python, Java) have syntax for algorithms, data manipulation, and can give direct instructions to the computer (e.g., "if this condition is met, then do that").
Snap & solve any problem in the app
Get step-by-step solutions on Sovi AI
Photo-based solutions with guided steps
Explore more problems and detailed explanations
2 is wrong because programming languages are used to create apps. Answer 3 is wrong as some programming languages (e.g., JavaScript) can be used in browsers. Answer 4 is wrong as HTML is a markup language and CSS is a style - sheet language, not programming languages.