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>
Video is not available...
coming soon...
Responsive web design is about creating web pages that look good on all devices!
A responsive web design will automatically adjust for different screen sizes and viewports.
Responsive Web Design is about using HTML and CSS to automatically resize, hide, shrink, or enlarge, a website, to make it look good on all devices (desktops, tablets, and phones):
To create a responsive website, add the following <meta>
tag to all your web pages:
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<style>
img {max-width: 100%;height: auto;}
</style>
</head>
<body>
<p><b>To understand this example, you should open this page on a phone or a tablet.</b></p>
<img src="/images/cat.jpg" alt="Cat" width="460" height="345">
<p>
ਸਰਕਾਰੀ ਸੀਨੀਅਰ ਸੈਕੰਡਰੀ ਸਕੂਲ, ਖੋਖਰ ਸ੍ਰੀ ਮੁਕਤਸਰ ਸਾਹਿਬ 1964 ਈ. ਵਿਚ ਪ੍ਰਾਇਮਰੀ ਸਕੂਲ ਵੱਜੋਂ ਸਥਾਪਿਤ ਹੋਇਆ ਸੀ ਜੋ ਕਿ 2001 ਈ. ਵਿਚ ਅਪਗ੍ਰੇਡ ਕਰਕੇ ਸੀਨੀਅਰ ਸੈਕੰਡਰੀ ਸਕੂਲ ਬਣਾ ਦਿੱਤਾ ਗਿਆ. 2001 ਤੋਂ ਲੈ ਕੇ ਹੁਣ ਤਕ ਇਸ ਸਕੂਲ ਦਾ ਇਤਿਹਾਸ ਸ਼ਾਨਦਾਰ ਰਿਹਾ ਹੈ। ਅਕਾਦਮਿਕ ਖੇਤਰ ਤੋਂ ਲੈ ਕੇ ਖੇਡਾਂ, ਸਭਿਆਚਾਰਕ ਗਤੀਵਿਧੀਆਂ ਅਤੇ ਸਹਿ-ਵਿਦਿਅਕ ਗਤੀਵਿਧੀਆਂ ਵਿਚ ਇਸ ਸਕੂਲ ਨੇ ਸ਼ਾਨਦਾਰ ਪ੍ਰਾਪਤੀਆਂ ਕੀਤੀਆਂ ਹਨ.</p>
<p>
ਮੌਜੂਦਾ ਸਮੇ ਵਿਚ ਸਕੂਲ ਵਿਦਿਆਰਥੀਆਂ ਲਈ ਖਿੱਚ ਦਾ ਕੇਂਦਰ ਹੈ. ਕਿਤਾਬਾਂ ਨਾਲ ਭਰੀ-ਪੁਰੀ ਲਾਇਬ੍ਰੇਰੀ, ਆਧੁਨਿਕ ਟੈਕਨੋਲੋਜੀ ਨਾਲ ਲੈਸ ਕੰਪਿਊਟਰ ਲੈਬ, ਐਜੂਸੈਟ ਲੈਬ, ਸਾਇੰਸ ਲੈਬ, ਮੈਥ ਕਾਰਨਰ ਅਤੇ ਐਸ.ਐਸ ਕਾਰਨਰ ਸਕੂਲ ਦੀ ਸ਼ਾਨ ਹਨ. ਸਕੂਲ ਵਿਚ ਸਥਾਪਿਤ ਕੀਤੇ ਵਿੱਦਿਅਕ ਪਾਰਕ ਵੇਖਣ ਯੋਗ ਹਨ. ਸਕੂਲ ਦਾ ਮਿਹਨਤੀ ਅਤੇ ਤਜਰਬੇਕਾਰ ਸਟਾਫ ਸਕੂਲ ਵਿਚ ਪੂਰਨ ਵਿੱਦਿਅਕ ਮਾਹੌਲ ਦੀ ਨੁਹਾਰ ਖਿੱਚ ਪਾਉਂਦੀ ਹੈ.
</p>
<a href="https://gssskhokhar.com/html/WithoutViewport_Head.html" target="_blank">Without the viewport meta tag</a>
<HR>
<a href="https://gssskhokhar.com/html/Viewport_Head.html" target="_blank">With the viewport meta tag</a>
</body>
</html>
This will set the viewport of your page, which will give the browser instructions on how to control the page's dimensions and scaling.
Here is an example of a web page without the viewport meta tag, and the same web page with the viewport meta tag: