Introduction to HTML programming
Free

HTML5 - MathML
The HTML syntax of HTML5 allows for MathML elements to be used inside a document using <math>…</math> tags.
MathML Examples
<!doctype html> <html> <head> <meta charset="UTF-8"> <title>Pythagorean theorem</title> </head> <body> <math> <mrow> <msup><mi>a</mi><mn>2</mn></msup> <mo>+</mo> <msup><mi>b</mi><mn>2</mn></msup> <mo>=</mo> <msup><mi>c</mi><mn>2</mn></msup> </mrow> </math> </body> </html>
Output
Using MathML Characters
<!doctype html> <html> <head> <meta charset="UTF-8"> <title>MathML Examples</title> </head> <body> <math> <mrow> <mrow> <msup> <mi>x</mi> <mn>2</mn> </msup> <mo>+</mo> <mrow> <mn>4</mn> <mo></mo> <mi>x</mi> </mrow> <mo>+</mo> <mn>4</mn> </mrow> <mo>=</mo> <mn>0</mn> </mrow> </math> </body> </html>
Output
Prev
HTML5 SVG Tag
Next
HTML5 – Canvas
Introduction to html programming lessons. You will learn how to create a website using html code.you will also learn how to create basic html programs.
Course Features
- Lectures 30
- Quizzes 0
- Duration 50 hours
- Skill level All levels
- Language English
- Students 1
- Certificate No
- Assessments Self