0

<Meta charset=UTF-8> <meta name="viewport" content="width=device-width, initial-scale=1.0"> why this is same in all html .?

What does this statement do? please help me..

10th Oct 2021, 5:20 AM
Prakash Singh Baag
7 Respuestas
+ 4
The HTML charset Attribute To display an HTML page correctly, a web browser must know the character set used in the page. This is specified in the <meta> tag: <meta charset="UTF-8"> From ASCII to UTF-8 ASCII was the first character encoding standard. ASCII defined 128 different characters that could be used on the internet: numbers (0-9), English letters (A-Z), and some special characters like ! $ + - ( ) @ < > . ISO-8859-1 was the default character set for HTML 4. This character set supported 256 different character codes. HTML 4 also supported UTF-8. ANSI (Windows-1252) was the original Windows character set. ANSI is identical to ISO-8859-1, except that ANSI has 32 extra characters. The HTML5 specification encourages web developers to use the UTF-8 character set, which covers almost all of the characters and symbols in the world!
11th Oct 2021, 5:30 PM
Arun Jamson
Arun Jamson - avatar
0
<!DOCTYPE html> <html lang="tg"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Графики Системаи Муодилаҳо</title> <script src="https://cdn.jsdelivr.net/npm/chart.js"></script> <style> body { font-family: Arial, sans-serif; margin: 20px; } canvas { max-width: 600px; margin: auto; } </style> </head> <body> <h1>Графики системаи муодилаҳо</h1> <canvas id="myChart"></canvas> <script> // Создани массиви барои х ва у const xValues = []; const y1Values = []; const y2Values = []; // Ҳисоб кардани функсияҳо барои диапазони х for (let x = -10; x <= 10; x += 0.1) { xValues.push(x); y1Values.push((2 - 3*x) / 2); // Ҳисоб кардани функсия 3x + 2y = 2 => y = (2 - 3x) / 2 y2Values.push(2*x - 8); // Ҳисоб кардани функсия 2x - y = 8 => y = 2x - 8 } // Создани график бо Chart.js const ctx = document.getElementById('myChart').getContext('2d'); const myChart = new Chart(ctx, { type: 'line', data: { labels: xValues, datasets: [ { label: '3x + 2y = 2', data: y1Values, borderColor: 'rgba(75, 192, 192, 1)', backgroundColor: 'rgba(75, 192, 192, 0.2)', fill: false, }, { label: '2x - y = 8', data: y2Values, borderColor: 'rgba(255, 99, 132, 1)', backgroundColor: 'rgba(255, 99, 132, 0.2)', fill: false, }, { label: 'Нуқтаи буриш K (-2, 4)', data: [{x: -2, y: 4}], backgroundColor: 'rgba(255, 20
22nd Jan 2025, 4:13 AM
Ҳусейн Талбаков
Ҳусейн Талбаков - avatar
0
����LExifMM*8 ��i>��JFIF���ICC_PROFILE�0mntrRGB XYZ �acsp���- desc�$rXYZgXYZ(bXYZ<wtptPrTRCd(gTRCd(bTRCd(cprt�<mluc enUSsRGBXYZ o�8��XYZ b����XYZ $����XYZ ���-paraff� Y� [mluc enUS Google Inc. 2016��C��C�� �8"��   ���  '  !TVW���"1A������#9QUfx������$(268Xagqvw��357BReu����%4:ry��������bst����&CDSYZi�����')FJ���EGd�����c���� ��^  !�"1Qabq��AR�����2S�#Br��3�s� $467t���5u���&UVv���'CDTX������ ?�\@��X��%��ԫӖ��xP�a��/�圕"�꙼tcwO�d�N�SD�!q���z0t�d�+�qSϢe,vϣd�8`����à훤�p�bg�:K&C�����g9�1��9�1�c��s�c�=��9�1�}p��t�K�܁��p�|Vڶ���Fӫ�����`�90�*�p��)s�M ��2SL���u�zq��|e�-c~��ީ�P��[[��Ǡ�L��M$K�c^*R�:M^*� ��˂��e=ɬ����p�<u�w 9�2�I����mj;ƽ����u͂� �c cn��F�n�0b�����m�J�R2xɱ �jm���g�u��x��t]�xҙcp��W �f�[8F4�.�t�EQY#�5S9NC��r~�}' �&J9�t�E���c�H6u��lᓄ�r��6p\��eS�1���dv�w�(��R�F�ӓ�L���Y��M"3�X�K�fW����c�T)J�f�q��9
18th Mar 2025, 7:11 AM
Samir Khalifa
Samir Khalifa - avatar
0
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Physics Fun</title> <script src="https://polyfill.io/v3/polyfill.min.js?features=es6"></script> <script id="MathJax-script" async src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"></script> <link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap"> <style> body { font-family: 'Roboto', sans-serif; margin: 0; padding: 0; background-color: #f4f4f4; color: #333; line-height: 1.7; /* Improved default line height for better readability */ } header { background-color: #007BFF; padding: 20px 0; text-align: center; color: white; } header h1 { margin: 0; font-size: 2.5em; /* Larger font size for the heading */ font-weight: 500; /* Use medium font weight for the heading */ } .container { max-width: 1200px; margin: 20px auto; padding: 20px; background-color: white; border-radius: 8px; box-shadow: 0 2px 4px rgba(0,0,0,0.1); } .section { margin-bottom: 40px; } .section h2 { font-size: 2em; /* Larger font size for section titles */ margin-bottom: 20px; color: #007BFF; /* Highlight section titles with the primary color */ text-align: center; /* Center the section titles */ font-weight: 700; /* Use bold font weight for section titles */ border-bottom: 2px solid #007BFF; /* Add a border below the section title */ padding-bottom: 10px; } .section p { font-size: 1.1em; /* Slightly larger font size for paragraphs */ color: #444; /* Slightly darker color for p
19th Mar 2025, 4:00 PM
lidetu tadele ateresaw
lidetu tadele ateresaw - avatar
0
<!DOCTYPE html> <html lang="ar" dir="rtl"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>أنمي ستريم - AnimeStream</title> <style> * { box-sizing: border-box; margin: 0; padding: 0; } body { font-family: 'Arial', sans-serif; background-color: #1a1a1a; color: #fff; } /* شريط التنقل */ .navbar { background-color: #222; padding: 1rem; display: flex; justify-content: space-between; align-items: center; } .logo { font-size: 1.5rem; color: #e50914; } .nav-links a { color: #fff; text-decoration: none; margin-left: 2rem; } /* قسم الهيرو */ .hero { height: 70vh; background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('https://source.unsplash.com/random/1920x1080/?anime'); background-size: cover; display: flex; align-items: center; padding: 2rem; } .hero-content { max-width: 600px; } /* قائمة الأنمي */ .anime-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 2rem; padding: 2rem; } .anime-card { background: #333; border-radius: 8px; overflow: hidden; transition: transform 0.3s; } .anime-card:hover { transform: translateY(-5px); } .anime-card img { width: 100%; height: 300px; object-fit: cover; } .anime-info { padding: 1rem; } /* مشغل الفيديو */ .video-player { width: 100%; height: 70vh;
17th May 2025, 10:53 AM
Malk Malk
Malk Malk - avatar
0
<!DOCTYPE html><html lang="ur" dir="rtl"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>آتش بازی کی دکان</title> <style> body { font-family: 'Noto Nastaliq Urdu', serif; background-color: #f2f2f2; margin: 0; padding: 0; } header { background-color: #d32f2f; color: white; padding: 20px; text-align: center; } .container { padding: 20px; } .product { background: white; margin-bottom: 20px; padding: 15px; border-radius: 8px; box-shadow: 0 0 10px rgba(0,0,0,0.1); } .product h2 { margin: 0; color: #c62828; } .product p { margin: 5px 0; } footer { background-color: #c62828; color: white; text-align: center; padding: 10px; margin-top: 40px; } .whatsapp-button { display: inline-block; margin-top: 10px; background-color:
9th Jun 2025, 12:16 PM
Rai Adnanali
Rai Adnanali - avatar