Code2night
  • Home
  • Guest Posts
  • Tutorial
  • Languages
    • Angular
    • C
    • C#
    • HTML/CSS
    • Java
    • JavaScript
    • Node.js
    • Python
    • React
    • SQL Server
    • TypeScript
  • Post Blog
  • Tools
    • JSON Beautifier
    • HTML Beautifier
    • XML Beautifier
    • CSS Beautifier
    • JS Beautifier
    • PDF Editor
  • Register
  • Login
  1. Home
  2. Blogpost

Tags in HTML

Date- Dec 09,2023

2401

1.<p> (Paragraph Tag):

  • a). The<p> tag is used to define and create paragraphs of text in an HTML document.
  • b).It is a block-level element, which means it typically starts on a new line and takes up the full width of its container.

2.<acronym> Tag (obsolete):

  • a). The<acronym> tag was used to define an acronym or abbreviation in an HTML document.
  • b).However, it is considered obsolete in modern HTML standards, and the <abbr> tag should be used instead.

In this example, the<acronym> tag defines the abbreviation "RAM" with the title attribute providing the full term.


3.<marquee> Tag (obsolete):

a). The<marquee> tag was used to create scrolling text or images in a web page. It allowed content to move horizontally or vertically across the screen.

  • b). Like the <acronym> tag, the<marquee> tag is considered obsolete and is not recommended for use in modern web development.
  • In this example, the <marquee> tag creates scrolling text that moves from right to left.

Here  we use Scrollamount (high scollamount means  speed of moving content fast).

ScrollDelay(high scroll delay means speed of content slow)


Example:-


<Html>

<head>

<title>

Code2Night

</title>

</head>

<body>

<p align="center">This is paragraph tag with attribute align</p>

<p>This is a paragraph of text. It can contain multiple sentences and line breaks.</p>

<acronym title="Random Access Memory">RAM</acronym>

<p>Above tag is acronym Tag</p>

<marquee bgcolor="red" width=50% height=14% scrollamount=10 scrolldelay=50><h1>CODE2NIGHT</h1></marquee>

<p>Above tag is marquee Tag It is used to scroll content on web page</p>

</body>

</html>




Result:-





S
Shubham Saini
Programming author at Code2Night — sharing tutorials on ASP.NET, C#, and more.
View all posts →

Comments

Tags

Swagger UI
Swashbuckle
SwashbuckleAspNetCore
Rest API
Postman
Api Testing
ITextSharp
Export to Pdf
AspNet Core
AspNet
C#
View to Pdf in Aspnet
Scheduler
Fibonacci series in Java
Display Fibonacci Series
First C# Program
What is C?
C
C Programming
CodeLobster
Free Download for Youtube Subscribers!

First click on Subscribe Now and then subscribe the channel and come back here.
Then Click on "Verify and Download" button for download link

Subscribe Now | 1760
Download
Support Us....!

Please Subscribe to support us

Thank you for Downloading....!

Please Subscribe to support us

Continue with Downloading
Be a Member
Join Us On Whatsapp Join Us On Facebook
Code2Night

A community platform for sharing programming knowledge, tutorials, and blogs. Learn, write, and grow with developers worldwide.

Panipat, India   info@code2night.com

Quick Links
  • Home
  • Blogs
  • Tutorials
  • About Us
  • Contact
  • Privacy Policy
  • Terms & Conditions
  • Guest Posts
Dev Tools
  • JSON Beautifier
  • HTML Beautifier
  • XML Beautifier
  • CSS Beautifier
  • JS Beautifier
  • PDF Editor
By Language
  • Angular
  • C
  • C#
  • HTML/CSS
  • Java
  • JavaScript
  • Node.js
  • Python
  • React
  • SQL Server
  • TypeScript
© 2026 Code2Night. All Rights Reserved.
Built with for developers