Superscript And Subscript Text in Punjabi | Formatting | HTML Tutorials | CSPunjab.Com

CSPunjab

Title : Superscript and Subscript Text

Language : HTML - The HyperText Markup Language or HTML is the standard markup language for documents designed to be displayed in a web browser. It defines the meaning and structure of web content. It is often assisted by technologies such as Cascading Style Sheets and scripting languages such as JavaScript.

HTML ਡਾਕੂਮੈਂਟ ਵਿੱਚ <sup> ਟੈਗ ਦੀ ਵਰਤੋਂ ਸੁਪਰਸਕ੍ਰਿਪਟ ਰੂਪ ਵਿੱਚ ਟੈਕਸਟ ਦਾਖਲ ਕਰਨ ਲਈ ਕੀਤੀ ਜਾਂਦੀ ਹੈ ਇਹ ਇੱਕ  ਕੰਨਟੈਨਰ ਟੈਗ ਹੈ <sup>...</sup> ਟੈਗ ਵਿੱਚਕਾਰ ਲਿਖਿਆ ਕੰਨਟੈਂਟ ਇਕ ਸੁਪਰਸਕ੍ਰਿਪਟ ਦੇ ਰੂਪ ਵਿਚ ਦਿਖਾਇਆ ਜਾਂਦਾ ਹੈ ਸੁਪਰਸਕ੍ਰਿਪਟ ਟੈਕਸਟ ਆਮ ਲਾਈਨ ਦੇ ਅੱਧੇ ਅੱਖਰ ਤੋਂ ਉੱਪਰ half of character above the normal line ਦਿਖਾਈ ਦਿੰਦਾ ਹੈ ਅਤੇ ਕਈ ਵਾਰ ਛੋਟੇ ਫੋਟ ਵਿੱਚ ਦਰਸਾਇਆ ਜਾਂਦਾ ਹੈ ਸੁਪਰਸਕ੍ਰਿਪਟ ਟੈਕਸਟ ਦੀ ਵਰਤੋਂ ਗਣਿਤ ਦੇ  ਸਮੀਕਰਨਾਂ mathematic equation  ਵਿੱਚ ਕੀਤੀ ਜਾ ਸਕਦੀ ਹੈ ਉਧਾਰਨ ਲਈ x2y  ਇੱਥੇ 2 ਇਕ ਸੁਪਰਸਕ੍ਰਿਪਟ ਹੈ ਸੁਪਰਸਕ੍ਰਿਪਟ ਟੈਕਸਟ ਫੁੱਟ ਨੋਟਸ footnotes ਲਈ ਵੀ ਵਰਤਿਆ ਜਾ ਸਕਦਾ ਹੈ ।

 

HTML ਡਾਕੂਮੈਂਟ ਵਿੱਚ <sub> ਟੈਗ ਦੀ ਵਰਤੋਂ ਸਬਸਕ੍ਰਿਪਟ ਰੂਪ ਵਿੱਚ ਟੈਕਸਟ ਦਾਖਲ ਕਰਨ ਲਈ ਕੀਤੀ ਜਾਂਦੀ ਹੈ। ਇਹ ਵੀ ਇੱਕ ਕੰਟੇਨਰ ਟੈਗ ਹੈ। <sub> ... </sub> ਐਲੀਮੈਂਟ ਵਿਚਕਾਰ ਲਿਖਿਆ ਕੰਟੈਂਟ ਇੱਕ ਸਬਸਕ੍ਰਿਪਟ ਦੇ ਰੂਪ ਵਿੱਚ ਦਿਖਾਇਆ ਜਾਂਦਾ ਹੈ। ਸਬਸਕ੍ਰਿਪਟ ਟੈਕਸਟ ਆਮ ਲਾਈਨ ਦੇ ਅੱਧੇ ਅੱਖਰ ਤੋਂ ਹੇਠਾਂ (half a character belov the normal line) ਦਿਖਾਈ ਦਿੰਦਾ ਹੈ ਅਤੇ ਕਈ ਵਾਰ ਛੋਟੇ ਫੌਂਟ ਵਿੱਚ ਦਿਖਾਇਆ ਜਾਂਦਾ ਹੈ। ਸਬਸਕ੍ਰਿਪਟ ਟੈਕਸਟ ਦੀ ਵਰਤੋਂ ਰਸਾਇਣਕ ਫਾਰਮੂਲੇ (chemical formulus) ਲਿਖਣ ਲਈ ਕੀਤੀ ਜਾ ਸਕਦੀ ਹੈ, ਜਿਵੇਂ ਕਿ H20 ਨੂੰ H2O ਵਜੋਂ ਲਿਖਿਆ ਜਾਣਾ।

<!DOCTYPE html>
<html>
<head>
<title>Superscript and Subscript Text</title>
</head>
<body>
<h1>Superscript and Subscript Text</h1>
<h1>ਸੁਪਰਸਕ੍ਰਿਪਟ ਅਤੇ ਸਬਸਕ੍ਰਿਪਟ ਟੈਕਸਟ </h1>
<HR>
<h1>Mathematical Equation X<sup>2</sup></h1>
<h1>Chemical Equation H<sub>2</sub></h1>

</body>
</html>

Admin

Innovative tech professional with 17+ years of experience working as a Government Computer Faculty & Programmer. Capable of working with a variety of technology and software solutions and managing databases. Valuable team member who has experience diagnosing problems and developing solutions.

When there's a task that can be done manually in 10 minutes but you find a way to automate it in 10 days. I'm gonna do what's called a Programmer move.