What are Web Slices?

What are Web Slices?

IE8 new feature Web Slices (Web Slices)
Microsoft released the official version of IE8 on March 20. The new feature Web Slices is something that I am very interested in.
What are Web Slices?
Slice refers to a part, and Web Slices refers to a part of the content on a web page. For example, you are interested in the latest article on ITFeed or the latest price of a product on Taobao, but you don’t want to open the page all the time to check. What should you do? Web Slices provides you with such convenience. You can get updates of the parts of the web page you are interested in on the favorites bar. Right-click and select Properties to set the update plan. When there is an update, it will notify you in bold, or you can refresh it manually to view it.
How to create Web Slices?
Web Slices uses the Microformats approach. All you need to do is set three specific class tags for a certain section of (x)html code. Also, don’t forget to add an ID to this content, otherwise it will be invalid.
The three class tags are hslice, entry-title, and entry-content.
hslice sets the content block
entry-title sets the displayed title
entry-content sets the content to be displayed
<div id="news" class="hslice">
<h4 class="entry-title">ITFeed Latest Updates</h4>
<ul class="entry-content">
<li><a href="#">Another quick loan from a foreigner</a></li>
<li><a href="#">The SNS community road of vertical portals</a></li>
<li><a href="#">Learn to use the data() function in jQuery</a></li>
<li><a href="#">Voices from Taobao front-end developers</a></li>
<li><a href="#">Use jQuery to create a floating navigation. </a></li>
</ul>
</div>
add web slices
web slices

<<:  Use the docker build kit to build a Docker image that can be used on the Raspberry Pi

>>:  Vue template configuration and webstorm code format specification settings

Recommend

How to configure VMware virtual machine NAT mode

This article describes the VMware virtual machine...

Simple setup of VMware ESXi6.7 (with pictures and text)

1. Introduction to VMware vSphere VMware vSphere ...

Introduction to Linux common hard disk management commands

Table of contents 1. df command 2. du command 3. ...

Uniapp realizes sliding scoring effect

This article shares the specific code of uniapp t...

Modify the jvm encoding problem when Tomcat is running

question: Recently, garbled data appeared when de...

Detailed explanation of the usage of the ESCAPE keyword in MySQL

MySQL escape Escape means the original semantics ...

Implementation steps of Mysql merge results and horizontal splicing fields

Preface Recently, I was working on a report funct...

An article tells you how to implement Vue front-end paging and back-end paging

Table of contents 1: Front-end handwritten paging...

JS realizes special effects of web page navigation bar

This article shares with you a practical web navi...

XHTML Getting Started Tutorial: Using the Frame Tag

<br />The frame structure allows several web...

CSS to achieve the sticky effect of two balls intersecting sample code

This is an effect created purely using CSS. To pu...

4 flexible Scss compilation output styles

Many people have been told how to compile from th...

Detailed explanation of FTP environment configuration solution (vsftpd)

1. Install vsftpd component Installation command:...

jQuery implements all selection and reverse selection operation case

This article shares the specific code of jQuery t...

New settings for text and fonts in CSS3

Text Shadow text-shadow: horizontal offset vertic...