GSSS KHOKHAR Online HTML Editor
Write, Run & Share HTML code online using GSSS KHOKHAR HTML online Code editor for free.
About HTML
HTML(Hyper Text Markup language) is the standard markup language for Web pages, was created by Berners-Lee in the year 1991. Almost every web page over internet might be using HTML.
<!DOCTYPE html>
<html>
and ends with </html>
<h1>
to <h6>
where <h1>
is the highest important heading and <h6>
is the least important sub-heading.<p>..</p>
tag.<a>
tag.
<!DOCTYPE html>
<html>
<head>
<title>Simple HTML Program</title>
</head>
<body>
<h1>Simple HTML Program</h1>
<h2>GSSS KHOKHAR, Sri Muktsar Sahib</h2>
</body>
</html>
Now, Click on the RUN button and output will display in output framework.
<img>
tag, where src
attribute consists of image name.<button>..</button>
tag<ul>
for unordered/bullet list and <ol>
for ordered/number list, and the list items are defined in <li>
.
<a href="https://www.gssskhokhar.com/html/">HTML</a>
CSS(cascading style sheets) describes how HTML elements will look on the web page like color, font-style, font-size, background color etc.
Below is a sample style sheet which displays heading in green and in Candara font with padding space of 25px.
body{
padding: 25px;
}
.title {
color: #228B22;
font-family: Candara;
}
<table>
tag.<tr>
tag<th>
tag<td>
tag<caption>
tag<script>
is the tag used to write scripts in HTML
<script src="script.js"></script>
HTML ਵਿੱਚ <big> ਟੈਗ ਦੀ ਵਰਤੋਂ ਫੌਂਟ ਸਾਈਜ਼ ਨੂੰ ਡਾਕੂਮੈਂਟ ਦੇ ਬੋਸ-ਫੌਂਟ ਸਾਈਜ਼ (Base Font Size) ਜਾਂ ਆਦ ਦੁਆਲੇ ਦੇ ਟੈਕਸਟ ਸਾਈਜ਼ (ਆਕਾਰ) ਨਾਲੋਂ ਇੱਕ ਲੇਵਲ ਵੱਡਾ ਕਰਨ ਲਈ ਕੀਤੀ ਜਾਂਦੀ ਹੈ, ਜਿਵੇਂ ਕਿ ਛੋਟੇ ਦਰਮਿਆਨਾ (Small to Medium) ਲੈਵਲ, ਦਰਮਿਆਨੇ ਤੋਂ ਵੱਡਾ (Medium to Large) ਲੈਵਲ, ਵੱਡੇ ਤ ਐਕਸਟਰਾ ਵੱਡਾ ਲੈਵਲ (Large to X-Large) ਆਦਿ । HTML5 ਦੁਆਰਾ ਇਸ ਟੈਗ ਨੂੰ ਸਪੋਰਟ ਨਹੀਂ ਕੀਤੀ ਜਾਂਦੀ ਇਸ ਤਰ੍ਹਾਂ HTML ਵਿੱਚ <Small> ਟੈਗ ਦੀ ਵਰਤੋਂ ਫੌਂਟ ਸਾਈਜ਼ ਨੂੰ ਡਾਕੂਮੈਂਟ ਦੇ ਬੇਸ-ਫੌਂਟ ਸਾਈਜ਼ ਜਾਂ ਆ ਦੁਆਲੇ ਦੇ ਟੈਕਸਟ ਸਾਈਜ਼ ਨਾਲੋਂ ਇੱਕ ਲੈਵਲ ਛੋਟਾ ਕਰਨ ਲਈ ਕੀਤੀ ਜਾਂਦੀ ਹੈ, ਜਿਵੇਂ ਕਿ ਐਕਸ-ਵੱਡੇ ਤੋਂ ਵੱ (X-Large to Large) ਲੈਵਲ, ਵੱਡੇ ਤੋਂ ਦਰਮਿਆਨਾ ਲੈਵਲ (Large to Medium), ਮੱਧਮ ਤੋਂ ਛੋਟਾ (Medium Small) ਲੈਵਲ ਆਦਿ। HTML5 ਦੁਆਰਾ <Small> ਟੈਗ ਨੂੰ ਵੀ ਹੁਣ ਸਪੋਰਟ ਨਹੀਂ ਕੀਤਾ ਜਾਂਦਾ। ਇਹ ਦੋਵੇਂ ਟੈਗਜ਼ ਪੇਅਰਡ ਟੈਗ ਹਨ। ਹੇਠਾਂ ਦਿੱਤਾ HTML ਪ੍ਰੋਗਰਾਮ ਇਹਨਾਂ ਟੈਗਜ਼ ਦੀ ਵਰਤੋਂ ਨੂੰ ਦਰਸਾਉਂਦਾ ਹੈ:
<head>
Etituigger and Smaller Text Examles/titles
</head>
This is an example of big Bigger Texts/big><b> This is an example of samallaller Texts/smalle
</body>
<!DOCTYPE html>
<html>
<head>
<title>Working with fonts</title>
</head>
<body>
<h1>Making Text Size Larger or Smaller</h1>
<h3>ਟੈਕਸਟ ਦਾ ਆਕਾਰ ਵੱਡਾ ਜਾਂ ਛੋਟਾ ਕਰਨਾ</h3>
<HR>
Big Font - > <big>GSSS KHOKHAR</big><br>
Small Font - > <small>GSSS KHOKHAR</small>
</body>
</html>
HTML ਵਿੱਚ <big> ਟੈਗ ਦੀ ਵਰਤੋਂ ਫੌਂਟ ਸਾਈਜ਼ ਨੂੰ ਡਾਕੂਮੈਂਟ ਦੇ ਬੇਸ-ਫੌਂਟ ਸਾਈਜ਼ (Base Font Size) ਜਾਂ ਆਲੇ ਦੁਆਲੇ ਦੇ ਟੈਕਸਟ ਸਾਈਜ਼ (ਆਕਾਰ) ਨਾਲੋਂ ਇਕ ਲੈਵਲ ਵੱਡਾ ਕਰਨ ਲਈ ਕੀਤੀ ਜਾਂਦੀ ਹੈ।
HTML5 ਦੁਆਰਾ ਇਸ ਟੈਗ ਨੂੰ ਸਪੋਰਟ ਨਹੀਂ ਕੀਤੀ ਜਾਂਦੀ