Tags in HTML | Code2night.com
Code2night
  • Home
  • Blogs
  • Guest Posts
  • Tutorial
  • Post Blog
  • Register
  • Login
  1. Home
  2. Blogpost

Tags in HTML

Date- Dec 09,2023

1411

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:-





Comments

Tags

LinkedinLogin
LinkedinProfile
GetLinkedinProfile
C#
Aspnet
MVC
Linkedin
ITextSharp
Export to Pdf
AspNet Core
AspNet
View to Pdf in Aspnet
Model Validation In ASPNET Core MVC 60
Model Validation
Model Validation In ASPNET Core MVC
Model Validation In ASPNET
Image Compression in AspNet
Compress Image in c#
AspNet MVC
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 | 1230
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

Welcome To Code2night, A common place for sharing your programming knowledge,Blogs and Videos

  • Panipat
  • info@Code2night.com

Links

  • Home
  • Blogs
  • Tutorial
  • Post Blog

Popular Tags

Copyright © 2025 by Code2night. All Rights Reserved

  • Home
  • Blog
  • Login
  • SignUp
  • Contact
  • Terms & Conditions
  • Refund Policy
  • About Us
  • Privacy Policy
  • Json Beautifier
  • Guest Posts