Found 2202 Articles for HTML

How to create a floating Layout in HTML?

Lokesh Badavath
Updated on 19-Oct-2022 08:17:07

4K+ Views

Layout make the web pages look better and arrange the visual elements on web page. It establishes the overall appearance of the web page. The HTML Layouts specifies the arrangement of different components on a web page. There are many HTML elements that defines different section of a web page. Following are the HTML elements used for HTML layout − S.No. Attribute & Description 1 header It specifies a header for a section of the content on the web page. 2 section It represents a section of the content on web page. ... Read More

How do we use different CSS classes in HTML?

Lokesh Badavath
Updated on 19-Oct-2022 06:35:12

707 Views

We specify a class for an HTML element using the class attribute. Multiple HTML elements can share the same class. And using various attributes of the class, like changing colors, fonts, etc., we can define styles rules for these HTML elements. The elements having that class will be formatted according to the defined rule. This is known as class selector. For selecting elements with a specific class, you need to write a period (.) character, followed by the name of the class, for example, let us look at the “.black” class, .black { color: #000000; } ... Read More

How do we style HTML elements using the span tag ?

Lokesh Badavath
Updated on 19-Oct-2022 06:13:16

3K+ Views

We use tag to color a part of text or a part of the document. This tag is mainly used to group similar content together for easy styling. We use inline style for tag, as it applies a style to inline elements. If we want to make some text or any other content different from the rest, we wrap it in a tag, and add class attribute to identify, then add attribute value for styling. Syntax Following is the syntax for the tag. Text… Example 1 Given below is an example to style HTML ... Read More

How do we style HTML elements using the division tag
?

Lokesh Badavath
Updated on 19-Oct-2022 06:12:08

539 Views

The tag is used as the container for the HTML elements. With the help of this tag, we can easily define a section of a HTML Document. It is also used to group large sections of HTML elements together and easily format them. The tag is used with block-level elements. The tag accepts all the CSS properties and styles the elements in it using attributes like class and id. Syntax Following is the syntax for the tag. Content… Example 1 Given below is an example to add style to the division tag in HTML. ... Read More

How we can put three divisions

Lokesh Badavath
Updated on 19-Oct-2022 06:10:23

10K+ Views

The tag defines the division of the HTML document. This tag is mainly used to group similar content together for easy styling and also used as the container for the HTML elements. We use CSS property to place three divisions tags side by side in HTML. The CSS property float is used to achieve this. Syntax Following is the syntax for the tag. Content… Example 1 Following is the example to place three division classes side by side in HTML using CSS property. DOCTYPE html> ... Read More

How we can put two divisions

Lokesh Badavath
Updated on 19-Oct-2022 06:09:16

9K+ Views

The tag defines the division of the HTML document. This tag is mainly used to group similar content together for easy styling. It is also used as the container for the HTML elements, we can easily style this tag using the class or id attribute. We can place content inside the tag. Using CSS property, we can place two tags side by side in HTML. By styling we can place the two division classes side by side. Syntax Following is the syntax for the tag. Content… Example 1 Following is the example to place ... Read More

How to create a Bibliography with HTML?

Lokesh Badavath
Updated on 18-Oct-2022 11:28:35

4K+ Views

Bibliography is a list of the written sources of information on a subject. We use tag in HTML, to create a bibliography section. The tag defines the work on a subject. The tag is also used to add work title a song, a painting, a movie, etc. It indicates citation and whatever comes inside the tag represents work title. The text between the tag renders in italic format. We use tag to list the items and tag to add the title of the subject. Syntax Following is the syntax for the tag. ... Read More

How to create HTML link that doesnt follow the link?

Sreemaha
Updated on 16-Jun-2020 13:15:46

416 Views

Use “nofollow” to create HTML link that doesn’t follow the link. In HTML, while adding an external link, you can set the attribute “rel” as “nofollow” or “dofollow” −The “nofollow” value tells the search engine − “Don't follow links on this page" or "Don't follow this specific link."Another WebsiteWhile using “nofollow”, the search engine won’t transfer anchor text across these link.

How to create a bookmark link in HTML?

Lokesh Badavath
Updated on 18-Nov-2022 09:50:45

15K+ Views

A bookmark is helpful when you want to remember the web page for future reference. You can access that bookmark at any time to view the web page again. We use HTML links to create bookmarks, so that we can jump to specific parts of a web page. Bookmarks can be useful if a web page is long. When we click on the link, the page will scroll down or up to the location with the bookmark specified on the web page. Syntax First, we should use the id attribute to create a bookmark text… Then, add a link ... Read More

How to use an image as a link in HTML?

Lokesh Badavath
Updated on 29-Aug-2023 07:02:36

347K+ Views

We can add image as a link and other HTML elements as a link. A link is a connection from one Web page to another web page. We can add page links to a web page. HTML links are hyperlinks. The tag defines a hyperlink and used to link from one page to another. The href attribute is used with the tag, which indicates the link's destination. To make page links in an HTML page, use the and tags, with href attribute used to define the links. We should use the … tags inside … tags. Syntax ... Read More

Advertisements