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>
A description list is a list of terms, with a description of each term.
The <dl>
tag defines the description list, the <dt>
tag defines the term (name), and the <dd>
tag describes each term:
A (Definition List) ਜਾਂ ਡਿਸਕ੍ਰਿਪਸ਼ਨ ਲਿਸਟ/ਵਰਣਨ ਸੂਚੀ (Description List) ਵੀ ਕਿਹਾ ਜਾਂਦਾ ਹੈ। : ਡੇਫੀਨੇਸ਼ਨ ਲਿਸਟ ਹਰੇਕ ਆਈਟਮ ਜਾਂ ਸ਼ਬਦ ਦੇ ਵਰਣਨ ਜਾਂ ਪਰਿਭਾਸ਼ਾ ਨੂੰ ਦਰਸ਼ਾਉਂਦੀ ਹੋਈ ਵੱਖ-ਵੱਖ ਆਈਟਮਾਂ ਦੀ --- । ਇੱਕ ਲਿਫ਼ ਹੁੰਦੀ ਹੈ। ਇਸ ਲਿਸਟ ਵਿੱਚ ਆਈਟਮਾਂ ਨੂੰ ਇੱਕ ਸ਼ਬਦਕੋਸ਼ (Dictionary) ਦੀ ਤਰ੍ਹਾਂ ਸੂਚੀਬੱਧ (Listed । । ਕੀਤਾ ਗਿਆ ਹੁੰਦਾ ਹੈ। HTML ਵਿੱਚ <DL> ਟੈਗ ਦੀ ਵਰਤੋਂ ਡੈਫੀਨੇਸ਼ਨ ਲਿਸਟ ਤਿਆਰ ਕਰਨ ਲਈ ਕੀਤੀ ਜਾਂਦੀ ਹੈ। ਡੇਵੀਨੇਸ਼ਨ ਲਿਸਟ ਵਿੱਚ ਹਰੇਕ ਲਿਸਟ ਆਈਟਮ ਵਿੱਚ ਦੋ ਤਰ੍ਹਾਂ ਦੇ ਕੰਟੈਂਟ ਦਾਖਲ ਕੀਤੇ ਜਾਂਦੇ ਹਨ,
• ਡੇਫੀਨੇਸ਼ਨ ਟਾਈਟਲ/ਪਰਿਭਾਸ਼ਾ ਸਿਰਲੇਖ (Definition Title): ਇਸ ਨੂੰ ਡਾਟਾ ਟਰਮ (Data Term) ਵੀ ਕਿਹਾ ਜਾ ਸਕਦਾ ਹੈ। ਡੇਫੀਨੇਸ਼ਨ ਟਾਈਟਲ ਲਈ <DI> ਟੈਗ ਦੀ ਵਰਤੋਂ ਕੀਤੀ ਜਾਂਦੀ ਹੈ? ਡੈਫੀਨੇਸ਼ਨ ਡਿਸਕ੍ਰਿਪਸ਼ਨ/ਪਰਿਭਾਸ਼ਾ ਵਰਣਨ (Definition Description): ਇਸ ਨੂੰ ਡਾਟਾ ਡੇਵੀਨੇਸ਼ਨ (Data Definition) ਵੀ ਕਿਹਾ ਜਾ ਸਕਦਾ ਹੈ। ਡੇਫੀਨੇਸ਼ਨ ਡਿਸਕ੍ਰਿਪਸ਼ਨ ਲਈ <DD> ਟੈਗ ਦੀ ਵਰਤੋਂ ਕੀਤੀ ਜਾਂਦੀ
<DT > ਅਤੇ <DD> ਟੈਗਜ਼ ਦੀ ਵਰਤੋਂ <DI> ਅਤੇ </DL> ਟੈਗਜ਼ ਦੇ ਵਿੱਚਕਾਰ ਕੀਤੀ ਜਾਂਦੀ ਹੈ। <DI> ਟੈਗ ਨਾਲ ਕਿਸੇ ਐਟਰੀਬਿਊਟ ਦੀ ਵਰਤੋਂ ਨਹੀਂ ਕੀਤੀ ਜਾਂਦੀ।
<!DOCTYPE html>
<html>
<head>
<title>Definition | Description | Other Lists</title>
</head>
<body>
<h2>Definition | Description | Other Lists</h2>
<dl>
<dt>HTML</dt>
<dd>- Hyper Text Markup Language</dd>
<dt>CSS</dt>
<dd>- Cascading Style Sheets</dd>
</dl>
</body>
</html>
<dl>
element to define a description list<dt>
element to define the description term<dd>
element to describe the term in a description list