আতিক হাসান
ওয়েবপেজ ডিজাইন এন্ড ডেভেলপার
HTML 5 এর পরিচিতি
HTML 4 এর উন্নত ভার্সনই হল HTML 5।HTML 5 এ নতুন কিছু ট্যাগ, এলিমেন্ট, এট্রিবিউট যোগ করা হয়েছে এবং পুরনো কিছু বাদ দেয়া হয়েছে।
HTML 5 এর উদাহরনঃ
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>Title of the document</title> </head> <body> Content of the document...... </body> </html>
HTML 5 এ নতুন যা পরিবর্তন আনা হয়েছে
HTML 5 এ DOCTYPE ঘোষণা খুবই সহজ। যেমনঃ-
<!DOCTYPE html>
HTML 5 এ Character Encoding ঘোষণা করাও খুবই সহজ।যেমনঃ-
<meta charset=”UTF-8″>
HTML 5 এর নতুন কিছু Elements
HTML 5 এ খুব বেশী ব্যাবহৃত নতুন এলিমেন্টগুলো হচ্ছেঃ
Semantic Elements যেমন- <header>, <footer>, <article>, and <section>.
Form control attributes যেমন- number, date, time, calendar, range and required.
Graphic Elements যেমন- <svg> and <canvas>.
Multimedia Elements: যেমন- <audio> and <video>.
HTML5 API’s (Application Programming Interfaces)
HTML 5 এর প্রধান নতুন API’s হচ্ছেঃ
- HTML Geolocation
- HTML Drag and Drop
- HTML Local Storage
- HTML Application Cache
- HTML Web Workers
- HTML SSE
HTML 5 থেকে যেসকল এলিমেন্ট বাদ দেয়া হয়েছে
| এলিমেন্ট | HTML 4 এলিমেন্টের পরিবর্তে লেখা হয় |
| <acronym> | <abbr> |
| <applet> | <object> |
| <basefont> | CSS |
| <big> | CSS |
| <center> | CSS |
| <dir> | <ul> |
| <font> | CSS |
| <frame> | |
| <frameset> | |
| <noframes> | |
| <strike> | CSS |
| <tt> | CSS |
