Skip to content
  • About us
  • Contact
  • en_USEN
  • viVI
FacebookTwitterPinterest
HOWTOHOWTO
  • All
    • Tips
      • Google
      • Facebook
      • Tiktok
    • Instruct
      • What is Q&A?
      • Taobao
    • WordPress
      • Code
      • Plugins
      • Themes
        • Flatsome
        • Theme Nevo
  • ShareHot
    • WordPress
    • Code
    • Plugins
    • Tips
    • Windows
    • Apple
    • Graphics
    • Experience
  • Graphics documents
    • illustrator
    • Sketchup
    • Coreldraw
    • 3ds max
    • Enscape
    • Photoshop
    • Graphics Plugin
  • Course
    • Photoshop course
    • illustrator course
    • Coreldraw course
    • Edit video course
    • Course Sketchup
    • Autocad course
    • Website management course
  • Service
  • Software
    • Windows
      • Tips
      • Office
      • Necessary
      • Tools
    • Apple
  • Game
  • News
    • Technology
    • Review
Hello!

  • Lost your password ?
HOWTOHOWTO
  • Home > 
  • Wordpress > 
  • Code > 
  • Techniques for inserting article frame code for websites

Techniques for inserting article frame code for websites

By How To 01/12/2025 0 512 Views
Techniques for inserting article frame code for websites
Article categories
When you create a website, to make other readers interested in the content we need to aim for, you will need to have attractive content or different points in that article.
In this article, I will share with you how to make your content more attractive and attract more readers.
Don't let you wait too long, let's find out more about it with the user manual Technique for inserting article frame code for websites Help your article stand out more.

Technique for inserting article frame code on the website

To insert code into a website, especially in WordPress, you need to have some existing code and then insert it into your website content. To insert into these frames, you can do the following.

Step 1: Log in to your website account. Account requirements must have the usual text editing function.

Step 2: Access to Posts > Write new articles > You write content as usual.

Step 3: Insert code to create a frame for the article.

You switch to text mode to insert the code content below that you like into the lower part of your text content.

Techniques for inserting article frame code for websites
Techniques for inserting article frame code for websites

After selecting copy and paste, you can switch back to the visual part to see the results.

Article frame code samples for beautiful websites

Sample 1: Code to insert article frame with background frame and green border:

This is the default green background frame with green text. You can also easily change the text color to work like Word Excel as in our image below. This frame code is intended to emphasize a certain content to make your content more prominent.

This is the display content of the framed code sample on the website. This code has blue text with a blue border and a green background

The code inserts a frame with a green background, style 2

<div style="background: #ebf6e0; border-radius: 5px; border: 1px solid #b3dc82; box-sizing: border-box; float: none; margin: 0px auto; outline: 0px; padding: 15px 20px; vertical-align: baseline; color: #5f9025; font-family: arial, sans-serif; font-size: 15px;">Below is the code to insert the template in the border. You can edit this content yourself to best suit your content. We are a user guide dedicated to sharing knowledge, experience and cool stuff.</div>

Sample 2: Code to insert background frame and gold text:

This is the type of code that causes notifications to attract people's attention

Note:

  • Code to display hotline on website
  • The code condenses product details and categories on Flatsome
  • The code shows nice promotions for flatsome like Cellphones
  • Code to automatically save images to hot when copying images from other pages

The code to insert post frame type 3 notes

<div class="symple-box yellow center" style="background: #fffdf3; border-radius: 5px; border: 1px solid #f2dfa4; box-sizing: border-box; color: #c4690e; float: none; font-family: Arial, sans-serif; font-size: 15px; margin: 0px auto; outline: 0px; padding: 15px 20px; vertical-align: baseline;">
<strong style="background: transparent; border: 0px; box-sizing: initial; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">Note</strong>:
<ul style="background: transparent; border: 0px; box-sizing: initial; margin: 0px 0px 20px 20px; outline: 0px; padding: 0px; vertical-align: baseline;">
<li style="background: transparent; border: 0px; box-sizing: initial; list-style: disc; margin: 5px 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="https://how.congdongso.net/code-hien-thi-hotline-tren-website/" target="_blank" rel="noopener">Code to display hotline on website</a></li>
<li><a href="https://how.congdongso.net/code-thu-gon-noi-dung/" target="_blank" rel="noopener">The code condenses product details and categories on Flatsome</a></li>
<li><a href="https://how.congdongso.net/code-hien-thi-khuyen-mai-dep-cho-flatsome/" target="_blank" rel="noopener">The code shows nice promotions for flatsome like Cellphones</a></li>
<li><a href="https://how.congdongso.net/code-tu-dong-luu-anh-vao-hot/" target="_blank" rel="noopener">Code to automatically save images to hot when copying images from other pages</a></li>
</ul>
</div>

Sample 3: Code to insert an article frame with black text on a white background and shadow

This is a sample code to insert a post or comment frame to load some pages that I see or if you like, you can also put it on your page depending on your preferences.

 Comment content
» Your email address will not be displayed.
» Items without an asterisk (*) are not required.
» Comment in accented Vietnamese to make your content as neat and clear as possible.

The code inserts a post frame with 4 comments

<div style="box-shadow: rgba(0, 0, 0, 0.4) 0px 0px 10px; box-sizing: inherit; margin-bottom: 10px; padding: 15px; line-height: 1.6em; border-radius: 5px;"><span style="box-sizing: inherit; font-weight: bold; line-height: 2.0em;"><span style="color: black;"> Comment content</span></span>
<span style="color: #222222;">» Your email address will not be displayed.</span>
<span style="color: #222222;">» Items without an asterisk (*) are not required.</span>
<span style="color: #222222;">» Comment in accented Vietnamese to make your content as neat and clear as possible.</span></div>

Sample 4: Code to insert gradient color frame for articles:

This is a content template that uses gradient background colors and borders that look extremely beautiful. We want to share with you.

This is a content template that uses gradient background colors and borders that look extremely beautiful. We want to share with you. If you reshare, please cite the source.
Source: howto.edu.vn

The code inserts a 5-color gradient post frame

<div style="background: linear-gradient(40deg, rgba(76, 175, 80, 0.08), rgba(255, 235, 59, 0.09)); border-radius: 5px; border-width: 3px; border-style: solid; border-color: rgba(213, 213, 213, 0); border-image-width: initial; border-image-outset: initial; border-image-repeat: initial; color: #333333; border-image-source: linear-gradient(to right, rgba(76, 175, 80, 0.5), rgba(156, 39, 176, 0.66), rgba(3, 169, 244, 0.65)); border-image-slice: 1; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 1em; vertical-align: baseline; text-align: left;">This is a content template that uses gradient background colors and borders that look extremely beautiful. We want to share with you. If you reshare, please cite the source. Source: <ahowto.edu.vn&quot; target=&quot;_blank&quot; rel=&quot;noopener&quot;&gt;howto.edu.vn</a></div>

Sample 5: Demo code to insert comment post frame:

This is a snippet of citation annotation code to help your citation stand out more

Note: The Code Block has a 400 KB limit, which is around 300,000 characters.

The code inserts a 6-color gradient post frame

<blockquote style="-webkit-text-stroke-width: 0px; background: #e8f9f4; border: 1px solid #8ee3c8; box-sizing: border-box; clear: right; color: #181818; font-family: 'Gotham SSm A', 'Gotham SSm B', Gotham, sans-serif; font-size: 14px; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; font-weight: 300; letter-spacing: normal; line-height: 1.6em; margin: 1em 0px; orphans: 2; padding: 1em; text-align: start; text-decoration-color: initial; text-decoration-style: initial; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"><strong style="box-sizing: border-box; font-weight: 500;">Note: </strong>The Code Block has a 400 KB limit, which is around 300,000 characters.</blockquote>

Sample 6: Code to insert featured content post frame:

This code makes your content stand out in your article. They will be as colorful as the one below.

howto.edu.vn started from a personal blog with the purpose of sharing and providing graphic knowledge and utilities in life. After a period of operation, howto.edu.vn has developed strongly into a large community, a place to exchange knowledge, experience, and general documents in the field of graphics and information technology. information and office amenities.

The code inserts the post frame style 7 with featured content.

<div class="content-box-yellow" style="background-color: #fef5c4; border: 1px solid #fadf98; box-sizing: inherit; margin: 0px 0px 25px; overflow: hidden; padding: 20px;"><span style="color: #222222; font-family: sans-serif;">howto.edu.vn started from a personal blog with the purpose of sharing and providing graphic knowledge and utilities in life. After a period of operation, howto.edu.vn has developed strongly into a large community, a place to exchange knowledge, experience, and general documents in the field of graphics and information technology. information and office amenities.</span></div>

Sample 7: Code to insert google's note frame:

Caution: This number only tracks requests that have been logged since DevTools was opened. If other requests occurred before DevTools was opened, those requests aren't counted.

 Code snippet for inserting article frame style 8 to insert Google's note frame:

<aside class="caution" style="background: rgb(255, 243, 224); box-sizing: inherit; color: #dd2c00; font-family: Roboto, sans-serif; font-size: 14px; margin: 16px 0px; padding: 12px 24px 12px 20px;"><strong style="box-sizing: inherit; margin-top: 0px;">Caution:</strong><span style="box-sizing: inherit; margin-bottom: 0px;">&nbsp;This number only tracks requests that have been logged since DevTools was opened. If other requests occurred before DevTools was opened, those requests aren&#039;t counted.</span></aside>

Sample 8: Code to insert article frame with title background:

Create a form style frame separated by an underline in the image below

➦ Article title

➧ Content you are interested in


  • Write the content you want to convey. Article frame code for website 1
  • Article frame code for website 2
  • Article frame code for website 3

Code to insert post frame style 1.

<div class="noidung_chu_y" style="background-color: #fff;">
<div class="chu_y" style="border: 2px solid #004695; border-radius: 5px;">
<div class="title_chuy" style="background-color: #2a79c8; color: #ffffff; border-top-left-radius: 4px; border-top-right-radius: 4px; padding: 10px 16px;">
<p style="margin-bottom: 0; margin-top: 0;"><span style="font-size: 140%;"><span style="color: #ed1c24;">➦ </span></span>Article title</p>
</div>
<div class="noidung_chu_y" style="background-color: #fff; padding: 1em;">
<span style="font-size: 16px; color: #0000ff;"><strong>➧ Content you are interested in</strong></span>
<hr />
<ul>
<li>Write the content you want to convey. Article frame code for website 1</li>
<li>Article frame code for website 2</li>
<li>Article frame code for website 3</li>
</ul>
</div>
</div>
</div>

Summarize

The insertion article frame code for website is extremely necessary. It helps your article stand out more. For the content that needs attention, you just need to insert this code content into the article and then change the content as you wish.

Good luck. If you have any samples or good ideas, you can leave us a comment and we will review and create appropriate code.

Tags : Tags Code to create article frames
Share
FacebookShare on FacebookpinterestShare on PinterestMessengerShare on Facebook Messenger
twitterShare on TwitterlinkedinShare on LinkedinvkShare on VkredditShare on ReddittumblrShare on TumblrvideoShare on Viadeobuffer. bufferShare on Bufferpocket. pocketShare on PocketwhatsappShare on WhatsappViberShare on ViberemailShare on EmailskypeShare on SkypediggShare on DiggmyspaceShare on MyspacebloggerShare on Blogger YahooMailShare on Yahoo mailtelegramShare on Telegram gmailShare on GmailAmazonShare on AmazonSMSShare on SMS
How To

How To

A person who is passionate about sharing knowledge from life. Common knowledge in life. Sharing is my passion. Hopefully my knowledge will bring many benefits to you

Related articles

Techniques for inserting article frame code for websites

How to Upload SVG Files to WordPress Latest Update

By thindv 21/11/2025 0

Although SVG has many advantages such as small size,…

Techniques for inserting article frame code for websites

How to create a slider that runs super smoothly on flatsome

By How To 19/11/2025

How to create a super smooth slider on flatsome. Have you ever…

Techniques for inserting article frame code for websites

How to put category descriptions below products

By How To 16/11/2025 0

How to put category descriptions below products…

Leave a Comment Cancel reply

Categories What is Q&A? What is the structure of that place?

What is Interior Design? How much does an interior design job pay?

12/12/2025
What is Material?

What is Material? Material application in the field of design

11/12/2025
What is the poster?

What are posters? 9 Tips for designing beautiful, quick Posters

11/12/2025
What does graphic design do? Is it easy to get a job?

What does graphic design do? Is it easy to get a job?

11/12/2025
Water is the water material in Enscap

Water is the water material in Enscap

11/12/2025

Recent comments

  • male1 year ago
    On How to create a fade effect in Photoshop
    Great
  • phat phat2 years ago
    On Who is 5SMedia?
    Useful article
  • Minh Anh3 years ago
    On How to create basic materials in vray Sketchup
    Very good, admin
Copyright © 2025 HOWTO - Powered by HOWTO

5SMedia.net | hocdohoacaptoc.com | huongdansudung.vn | webantam.com

Back to Top
Hello!
  • All
    • Tips
      • Google
      • Facebook
      • Tiktok
    • Instruct
      • What is Q&A?
      • Taobao
    • WordPress
      • Code
      • Plugins
      • Themes
        • Flatsome
        • Theme Nevo
  • Share
    • WordPress
    • Code
    • Plugins
    • Tips
    • Windows
    • Apple
    • Graphics
    • Experience
  • Graphics documents
    • illustrator
    • Sketchup
    • Coreldraw
    • 3ds max
    • Enscape
    • Photoshop
    • Graphics Plugin
  • Course
    • Photoshop course
    • illustrator course
    • Coreldraw course
    • Edit video course
    • Course Sketchup
    • Autocad course
    • Website management course
  • Service
  • Software
    • Windows
      • Tips
      • Office
      • Necessary
      • Tools
    • Apple
  • Game
  • News
    • Technology
    • Review
en_US EN
en_US EN vi VI