templates
- Template Gallery
- Get Started with Templates
Computer Vision
- Semantic Segmentation with Polygons
- Semantic Segmentation with Masks
- Object Detection with Bounding Boxes
- Keypoint Labeling
- Image Captioning
- Optical Character Recognition (OCR)
- Image Classification
- Visual Question Answering
- Object Detection with Ellipses
- Multi-Image Classification
- Multi-page Document Annotation
- Inventory Tracking
- Visual Genome
Natural Language Processing
- Question Answering
- Sentiment Analysis Text Classification
- Named Entity Recognition
- Taxonomy
- Relation Extraction
- Text Summarization
- Machine Translation
Audio/Speech Processing
- Automatic Speech Recognition
- Sound Event Detection
- Automatic Speech Recognition using Segments
- Signal Quality Detection
- Speaker Diarization
- Dialogue Analysis
- Intent Classification
- Audio Classification
- Audio Classification with Segments
- Voice Activity Detection
Conversational AI
- Response Generation
- Response Selection
- Coreference Resolution and Entity Linking
- Slot Filling and Intent Classification
Ranking and Scoring
- Pairwise Regression
- Document Retrieval
- Pairwise Classification
- Content-based Image Retrieval
- Website Rating
- ASR Hypotheses Selection
- Text-to-Image Generation
- Search Page Ranking
Structured Data Parsing
- Freeform Metadata
- PDF Classification
- Tabular Data
- HTML Entity Recognition
- HTML Classification
Time Series Analysis
- Time Series Forecasting
- Change Point Detection
- Activity Recognition
- Signal Quality
- Outliers and Anomaly Detection
- Time Series Classification
- Time Series Labeling
Videos
- Video Classification
- Video Timeline Segmentation
- Video Object Detection and Tracking
Template Galleries
- Template Gallery - Computer Vision
- Template Gallery - Natural Language Processing
- Template Gallery - Audio/Speech Processing
- Template Gallery - Conversational AI
- Template Gallery - Ranking & Scoring
- Template Gallery - Structured Data Parsing
- Template Gallery - Time Series Analysis
- Template Gallery - Videos
- Template Gallery - Dynamic Labels
Website Rating
For cases when you want to rate the quality of websites, or rate the trustworthiness and classify the content of a website, you can use this template.
Interactive Template Preview
Labeling Configuration
<View>
<HyperText name="website" value="$website" inline="true"/>
<Header value="Rate this website"/>
<Rating name="rating" toName="website" maxRating="10" icon="star" size="medium" />
<Choices name="choices" choice="single-radio" toName="website" showInline="true">
<Choice value="Important article"/>
<Choice value="Yellow press"/>
</Choices>
</View>
About the labeling configuration
All labeling configurations must be wrapped in View tags.
The HyperText object tag specifies the location of the website to be labeled, and specifies to display it inline on the labeling interface:
<HyperText name="website" value="$website" inline="true"/>
You can add a header to provide instructions to the annotator:
<Header value="Rate this website"/>
The Rating control tag provides a star rating out of 10 stars to annotators to use to rate the website content:
<Rating name="rating" toName="website" maxRating="10" icon="star" size="medium" />
The Choices control tag lets annotators classify the website content as well:
<Choices name="choices" choice="single-radio" toName="website" showInline="true">
<Choice value="Important article"/>
<Choice value="Yellow press"/>
</Choices>
Input data
There are two ways to structure input data to use this template:
- Use HTML files
- Use links to websites in JSON-formatted files
Use HTML files
This method is recommended. Save the website content that you want to rate as HTML files, and import the HTML files into Label Studio.
If you use this method, change the inline
parameter for the HyperText tag to false
.
Use links to websites
This method seems simpler, but due to CORS (cross-origin resource sharing) restrictions on websites appearing in HTML iframes, it only works for websites hosted on the same domain as your Label Studio instance. For example, if you want to rate websites hosted on your organization’s domain, and Label Studio is hosted on the same domain, you can probably use this option. In most cases, CORS restrictions prevent the website from being visible.
If this option will work for you, you can use the following example JSON:
One task can be formatted like the following:
{
"website": "<iframe src='https://heartex.com' width='100%' height='600px'/>"
}
Or multiple tasks like the following:
[
{
"data":{
"website": "<iframe src='https://heartex.com' width='100%' height='600px'/>"
}
},
{
"data":{
"website": "<iframe src='https://example.com' width='100%' height='600px'/>"
}
},
{
"data":{
"website": "<iframe src='https://labelstud.io' width='100%' height='600px'/>"
}
}
]
Related tags
Related templates

If you found an error, you can file an issue on GitHub!