Skip to main content
Blog IT Information technology

Main navigation

  • Home
  • Contact us

User account menu

  • Log in
  • Register

html

  1. Home
  2. Blogs
  3. Html

Pagination

  • First page « First
  • Previous page ‹‹
  • Page 1
  • Page 2
  • Current page 3

How to Open Hyperlink in a New Window

Hyperlinks are used to jump from one page to another. A hyperlink commonly opens in the same page by default. But it is possible to open hyperlinks in a separate window.

Blog IT Blog IT
4 years 9 months ago
Read More

How to Animate the Background of the Progress Bar

In this snippet, we’re going to animate the progress bar created with the HTML <progress> tag. In our example, we style Shadow DOM elements, but one thing that may cause difficulties is animating the background which is represented as a repeating linear-gradient.

Blog IT Blog IT
4 years 10 months ago
Read More

How to Create an Animation with a Delay in CSS

To delay an animation, we use the CSS animation-delay property, which specifies the time between an element being loaded and the start of an animation. But there can be some difficulties when delaying the animation, such as the problem when an element disappears after the animation. Let’s see the solution to this.

Blog IT Blog IT
4 years 10 months ago
Read More

Which is Better to Use in CSS: px, em, or rem

First of all, we must understand that there isn’t any best option of measurement unit for all cases, and that’s why this question is mostly opinion-based. But let’s discuss each of the units.

Using px

CSS defines a reference pixel that measures the pixel size on a 96dpi display. On display with a dpi significantly different from 96dpi, the user agent will rescale the px unit so that its size will match the one of a reference pixel.

Blog IT Blog IT
4 years 11 months ago
Read More

How to Disable Form Fields with CSS

You can disable form fields by using some CSS. To disable form fields, use the CSS pointer-events property set to “none”.

<!DOCTYPE html>
<html>
  <head>
    <title>How to Disable Form Fields with CSS</title>
    <style>
      input[name=yourName] {
        pointer-events: none;
      }
    </style>
  </head>
  <body>
    <input type="text" name="yourName" value="blog it">
  </body>
</html>

Blog IT Blog IT
5 years 1 month ago
Read More

How to create HTML <iframe> Tag

The <iframe> tag creates an inline frame for embedding third-party content (media, applets, etc.). Although the content of the frame and the web page are independent, they can interact through JavaScript.

<!DOCTYPE html>
<html>
  <head>
    <title>HTML <iframe> Tag</title>
  </head>
  <body>
    <iframe src="http://blog-it.tn/"></iframe>
  </body>
</html>

Blog IT Blog IT
5 years 1 month ago
Read More

How to Make the Middle Item Stay Centered

It is possible to center the middle item regardless of the widths of siblings by using Flexbox. You need to use nested flex containers and auto margins. Below, you can see how it can be done.

Blog IT Blog IT
5 years 3 months ago
Read More

How to Create a List With Dashes in HTML

If you want to have an unordered list styled with dashes instead of bullets, you can use the CSS :before pseudo-element with the content property.

In the example above, we set the list-style-type property of the <ul> element to “none”. Also, we added the position and margin-left properties to the <li> elements.

Blog IT Blog IT
5 years 10 months ago
Read More

HTML5 Page Structure

A basic HTML page always begins with the declaration of the document type or doctype. It is a way to inform browsers about the type of document. The doctype is always the first element at the top of all HTML files. Then we have sections and subsections, each has its title and subtitle. These titles and section elements help the reader to perceive the meaning of the content.

Blog IT Blog IT
6 years 11 months ago
Read More

Pagination

  • First page « First
  • Previous page ‹‹
  • Page 1
  • Page 2
  • Current page 3

Subscribe to the Newsletter

Blog Category

Web
Mobile
Security
Design

Tags keyword

html
css
php
Sass
html5
drupal
drupal 8
drupal 9
drupal 10
laravel
symfony
vue.js
vue
js
css3
jquery
javascript
image
table
iframe
link
mail
twig
drush
module
git
gitflow
web
drupal 7

Monthly archive

  • May 2018 (1)
  • May 2019 (1)
  • November 2019 (1)
  • December 2019 (1)
  • March 2020 (2)
  • May 2020 (3)
  • June 2020 (2)
  • July 2020 (3)
  • November 2020 (1)
  • December 2021 (3)
  • October 2022 (1)
  • November 2022 (7)
  • December 2022 (15)
  • February 2023 (1)
  • April 2023 (1)
  • May 2023 (2)
  • June 2023 (3)
  • July 2023 (4)
  • August 2023 (8)
  • September 2023 (3)
  • October 2023 (9)
  • November 2023 (5)
  • September 2024 (1)

Copyright © 2025 - Blog Information technology - Sitemap