🚀 CYBER WEEK SALE: 50% OFF on JavaScript Fundamentals 💪

What is the correct HTML for making a Drop-Down List

The select element is the correct HTML for making a drop-down List. For a quick refresher, It is an HTML element tag that creates a drop-down list and is used to get user submissions on an input form....

August 31, 2021 · 2 min · Coderslang Master

How to Comment Out in JavaScript

There are two ways you can comment out the code in JavaScript, and they are: Single line comment Multiple line comment Let’s take a look at what each of these does:...

August 30, 2021 · 3 min · Coderslang Master

Inside Which HTML Element Do We Put The JavaScript

The script tag is used when we want to put a JavaScript code in an HTML file. The script is the HTML element tag used to insert a JavaScript code in an HTML file....

August 27, 2021 · 2 min · Coderslang Master

How to Link to a Specific Part of an HTML Page

Have you noticed in some web pages where you click the link in the table of contents or the navigation bar, it will scroll down to the specific part of the page?...

August 26, 2021 · 3 min · Coderslang Master

How to Add JavaScript to HTML

To add JavaScript to HTML files, you will use an HTML element tag called a script. A script tag is a tag that lets you insert JavaScript code in the HTML file....

August 17, 2021 · 2 min · Coderslang Master

How to Call JavaScript Function On Button Click in HTML

In this tutorial you’ll learn how you can call a JavaScript function on button click in HTML with three easy-to-follow steps. Step 1: Create a JavaScript function The first thing to do is create a JavaScript function....

August 13, 2021 · 2 min · Coderslang Master

What does > mean in CSS

When used in a CSS selector, the greater than symbol (>) represents the direct child relationship between two elements. The greater than “>” sign in CSS means selecting the HTML elements that are the first direct descendant of the parent element but ignore the second, third, and other descendants....

November 6, 2022 · 2 min · Coderslang Master

Where in an HTML document is the correct place to refer to an external style sheet

The correct place to refer to the external style sheet in an HTML document is inside the head section. The head section locates at the topmost part of the HTML document, and it’s where you add the external style sheet code to access the CSS file from which you can use it to apply the stylings to an HTML web page....

August 4, 2021 · 1 min · Coderslang Master

How to use div tag in HTML to divide the page

Learn how to divide the page in HTML using the div tag in 3 easy steps. Step 1: Add the div tags Let’s say you want to divide the page into three sections....

August 3, 2021 · 2 min · Coderslang Master

How to put text next to an image in HTML

Sometimes, you want to put text next to the image to display the information like a profile picture of the social media or service platform, a company’s team members, and many more....

August 2, 2021 · 3 min · Coderslang Master