HTML Tutorial
Html graphics, html examples, html references, html online editor, html editor.
With our online HTML editor, you can edit HTML, CSS and JavaScript code, and view the result in your browser.

This is a Heading
This is a paragraph.
Click on the "Try it Yourself" button to see how it works.
Publish Your Code
If you want to save your HTML, CSS and JavaScript code, and create your own website, check out W3Schools Spaces .
W3Schools Spaces is a website-building tool that lets you make and share your own website.
You can change the website's look and how it works by editing the code right in your web browser.
It's easy to use and doesn't require any setup:
The code editor is packed with features to help you achieve more:
- Templates: Start from scratch or use a template
- Cloud-based: no installations required. You only need your browser
- Terminal & Log: debug and troubleshoot your code easily
- File Navigator: switch between files inside the code editor
- And much more!
Learn Faster
Practice is key to mastering coding, and the best way to put your HTML knowledge into practice is by getting practical with code.
Use W3Schools Spaces to build, test and deploy code.
The code editor lets you write and practice different types of computer languages. It includes HTML/CSS/JavaScript, but you can use it for other languages too, such as PHP, Python, Node.js, etc.
If you don't know HTML, we suggest that you read our HTML Tutorial from scratch.
Build Powerful Websites
You can also use the code editor in W3School Spaces to build frontend or full-stack websites from scratch.
Or you can use the 60+ templates available and save time:

Create your Spaces account today and explore them all!
Share It With The World
Host and publish your websites in no time with W3School Spaces .
W3Schools subdomain and SSL certificate are included for free with W3School Spaces . An SSL certificate makes your website safe and secure. It also helps people trust your website and makes it easier to find it online.
Want a custom domain for your website?
You can buy a domain or transfer an existing one and connect it to your space.
How Does It Work?
Get started in a few clicks with W3School Spaces .

COLOR PICKER

Report Error
If you want to report an error, or if you want to make a suggestion, do not hesitate to send us an e-mail:
Top Tutorials
Top references, top examples, get certified.
Hello World! Online Javascript playground for free.
HTML Hello World
Html online code editor.
Write, Run & Share HTML code online using OneCompiler's HTML online Code editor for free. It's one of the robust, feature-rich online Code editor for HTML language, running on the latest version HTML5. Getting started with the OneCompiler's HTML compiler is simple and pretty fast. The editor shows sample boilerplate code when you choose language as HTML . You can also specify the stylesheet information in styles.css tab and scripts information in scripts.js tab and start coding.
HTML(Hyper Text Markup language) is the standard markup language for Web pages, was created by Berners-Lee in the year 1991. Almost every web page over internet might be using HTML.
Syntax help
Fundamentals.
- Any HTML document must start with document declaration <!DOCTYPE html>
- HTML documents begin with <html> and ends with </html>
- Headings are defined with <h1> to <h6> where <h1> is the highest important heading and <h6> is the least important sub-heading.
- Paragrahs are defined in <p>..</p> tag.
- Images are defined in <img> tag, where src attribute consists of image name.
- Buttons are defined in <button>..</button> tag
- Lists are defined in <ul> for unordered/bullet list and <ol> for ordered/number list, and the list items are defined in <li> .
HTML Elements and Attributes
- HTML element is everything present from start tag to end tag.
- The text present between start and end tag is called HTML element content.
- Anything can be a tagname but it's preferred to put the meaningful title to the content present as tag name.
- Do not forget the end tag.
- Elements with no content are called empty elements.
- Elements can have attributes which provides additional information about the element.
CSS(cascading style sheets) describes how HTML elements will look on the web page like color, font-style, font-size, background color etc.
Below is a sample style sheet which displays heading in green and in Candara font with padding space of 25px.
HTML Tables
- HTML Tables are defined in <table> tag.
- Table row should be defined in <tr> tag
- Table header should be defined in <th> tag
- Table data should be defined in <td> tag
- Table caption should be defined in <caption> tag
HTML-Javascript
- Javascript is used in HTML pages to make them more interactive.
- <script> is the tag used to write scripts in HTML
- You can either reference a external script or write script code in this tag.
Online HTML Editor
powered by CKEditor
* Any uploaded image will be removed in 14 days.
Clean HTML output on the go
Here are the 2 different WYSIWYG HTML editors available on this website:
• CKEditor 4 with direct access to edit HTML markup
• CKEditor 5 with real-time collaboration and Markdown support.
With both editors, you can create clean HTML output with the easiest WYSIWYG editing possible. If you've already started writing rich-text content, all you have to do is paste it in onlinehtmleditor.dev, make your adjustments, extract HTML output from view-source mode and reuse it anywhere on the web!
More on CKEditor 5
More on CKEditor 4
Easy HTML editing
CKEditor 4's HTML source code editing feature allows it to be used as an online HTML editor. It includes syntax highlighting to make it easier for you to follow code. It can be forced to accept any type of code including tags by simply turning off the HTML filtering. You can also switch to WYSIWYG mode anytime to check how your code output looks!
Clean your HTML code
For situations where you would like to clean and fix up invalid HTML , you can use CKEditor 4's source code editing feature as well. After switching to source code mode, all you have to do is to paste in your HTML and CKEditor 4 will automatically fix it. You can again switch back and forth to WYSIWYG mode anytime to edit content more easily.
Convert Word document and Google Docs to HTML
CKEditor 4 and CKEditor 5 have excellent copy-paste with constant improvements. Whether you are copy-pasting from Google Docs, Word, Excel or LibreOffice, CKEditor will get you your exact content. This makes it better than any ordinary tool to turn your existing Word and Google Docs and LibreOffice documents to HTML . Simple as, paste your content, and click source code mode to see the HTML output.

Collaborative writing
If you're looking for an alternative to Google Docs real-time collaboration, but you also need HTML output, CKEditor 5 is a go! You can use it to comment on selected parts of the content, text, images, tables or suggest edits with its track changes feature.
To collaborate with your colleagues or friends all you have to do is to share the link. Each time you load the page, a special document ID gets attached to the URL. Each document ID and its content stays active for an hour after the last user disconnects from it so you do not immediately lose your content. Also, there isn't a limit for the number of collaborators!
Collaboration makes it easier to create your content quickly and efficiently . With CKEditor 5, where you write, comment, discuss and proofread the content are unified so you don't lose time switching between applications to edit and discuss. If some of your collaborators prefer Markdown, CKEditor 5 has you covered there too!
Learn about CKEditor 5 collaboration features
Why CKEditor?
WYSIWYG editors in your software often misbehave. This is usually because they are out-of-date or simply are not reliable. Unfortunately, many developers opt for simple, lightweight, do-it-yourself-editors based on assumptions without doing proper research or testing for their individual use case. This leaves the end users frustrated.
However, both CKEditors are built with 16 years of experience in WYSIWYG rich-text editing by a team of 40+ developers. We consistently listen to user concerns, trends, new feature requests to help us build our editors. Architectures that can handle complex structures and the constant improvements makes the editors stronger than any other examples.
The best WYSIWYG Online HTML editor around
What sets CKEditor apart from other online HTML tools is its originality! There are many websites and articles that include lists of best online HTML editors. What these listicles won't tell you is that although they have different names, many of the mentioned tools are simple implementations of CKEditor !
Now you've found the original online HTML editor ! Whether you are looking for a quick online solution or to implement the editor in your own software, CKEditor will always provide you the latest and greatest WYSIWYG features. But if you are looking for some guidance on deciding which editor is the best for you, we can also help with that!
How to choose the perfect editor
Online HTML editor features
This section presents a whole variety of features that ckeditor has to offer, styling and formatting.
The Basic Styles plugin provides the ability to add some basic text formatting to your document. It adds the Bold, Italic, Underline, Strikethrough, Subscript and Superscript toolbar buttons that apply these styles. If you want to quickly remove basic styles from your document, use the Remove Format button provided by the Remove Format plugin.
Copy Formatting
The optional Copy Formatting plugin provides the ability to easily copy text formatting from one place in the document and apply it to another. To copy styles, place your cursor inside the text (or select a styled document fragment) and press the button or use the Ctrl+Shift+C keyboard shortcut.
Removing Text Formatting
The Remove Format plugin provides the ability to quickly remove any text formatting that is applied through inline HTML elements and CSS styles, like basic text styles (bold, italic, etc.), font family and size, text and background colors or styles applied through the Styles drop-down. Note that it does not change text formats applied at block level..
Autoformatting
The Autoformat feature in CKEditor 5 allows you to quickly apply formatting to the content you are writing. While it can be customized, by default it can be used as an Markdown alternative. For example you bold by typing **text** or __text__ , create bulleted lists with * or -, create headings with #, ## or ###.
Block-Level Text Formats
The Format plugin provides the ability to add block-level text formatting to your document. It introduces the Paragraph Format toolbar button that applies these text formats. The formats work on block level which means that you do not need to select any text in order to apply them and entire blocks will be affected by your choice.
This plugin adds the Table Properties dialog window with support for creating tables and setting basic table properties, such as: number of rows and columns, table width and height, cell padding and spacing, table headers setting, table border size, table alignment on the page and table caption and summary.
Inserting Images
The default Image plugin supports inserting images into the editor content. This plugin supports left and right alignment. It also allows setting image border as well as pixel-perfect alignment (by setting the horizontal and vertical whitespace). Links can be added to an image easily from the Image Properties dialog. A file manager such as CKFinder can be integrated for image upload and storage support.
Pasting Content from LibreOffice
The Paste from LibreOffice plugin allows you to paste content from LibreOffice Writer and maintain original content structure and formatting.
Pasting Content from Google Docs
The Paste from Google Docs plugin allows you to paste content from Google Docs and maintain original content structure and formatting.
Pasting Content from Microsoft Excel
The Paste from Word plugin allows you to also paste content from Microsoft Excel and maintain original content structure and formatting.
Pasting Content from Microsoft Word
The Paste from Word plugin allows you to paste content from Microsoft Word and maintain original content structure and formatting. It automatically detects Word content and transforms its structure and formatting to clean HTML.
Source Code Editing
CKEditor 4 is a WYSIWYG editor, so it makes it easy for end users to work on HTML content without any knowledge of HTML whatsoever. More advanced users, however, sometimes want to access raw HTML source code for their content and CKEditor makes it possible by providing the Source Editing feature.
Code Snippets
This plugin allows you to insert rich code fragments and see a live preview with highlighted syntax. Its original implementation uses the highlight.js library, but the plugin exposes a convenient interface for hooking any other library, even a server-side one.
Embedding Media Resources
The Media Embed plugin allow to embed resources (videos, images, tweets, etc.) hosted by other services (like e.g. YouTube, Vimeo, Twitter) in the editor.
Spellcheck on the go
The SpellCheckAsYouType (SCAYT) plugin provides inline spelling and grammar checking, much like the native browser spell checker, well-integrated with the CKEditor 4 context menu. It uses the WebSpellChecker web services.
We use cookies and other technologies to provide you with a better user experience.
The 7 Best Free Online HTML Editors to Test Your Code
Need to tweak a small snippet of HTML? Test your HTML code in a browser with these online HTML editors.
Every website you use relies on HTML. While web developers need skills in JavaScript, Python, CSS, and server-side scripting, HTML holds it all together.
Without HTML, there is no web, so you need to know how to create and edit it. Rather than set up a HTML code testing system on your computer, it's simpler to test code in a browser.
Whether fiddling with small HTML snippets or full website projects, an online HTML editor is ideal.
Why You Should Use an Online HTML Editor
Using a browser-based HTML editor makes good sense over something like Notepad++ for the following reasons:
- Online HTML editors run directly in your web browser
- Test your HTML code online---see if the code runs as expected
- See real-time web previews---the preview updates as you edit
- Streamline your workflow---no more saving, loading in the browser, switching back to the editor, and repeat
- Platform agnostic---they run on any device with a web connection.
This last point is very important. It means that you can conceivably develop a web page as easily on a PC as a Chromebook. You might even use an Android tablet, or a $50 computer like the Raspberry Pi.
HTML coding is an accessible, straightforward gateway to understanding programming and development. You constantly need to test your HTML code---what better than live results in your browser window?
Let's look at some of the best online HTML editors currently available.
CodePen is a "social development environment" for web developers, which basically means it's an online editor with collaboration features. It offers a simple layout. You'll find a panel for HTML, a panel for CSS, and a panel for JavaScript, plus one for real-time preview. All panel sizes can be adjusted by dragging the edges around.
You can create "Pens," which are like individual playgrounds for tweaking web code. Multiple Pens can be grouped together into Collections.
While signup for basic use is free, Private Pens and Collections require a Pro account . This starts at $8/mo and includes asset hosting, embeddable themes, real-time collaboration, and access to CodePen's full web development IDE.
Many people consider CodePen the best online HTML editor. Try it out to see if it suits your needs.
2. JSFiddle
JSFiddle is pretty much what it sounds like: a sandbox where you can fiddle around with JavaScript. You probably know that JavaScript goes hand in hand with HTML and CSS. This means that with JSFiddle, you can edit all three at once with JSFiddle's editing interface.
If you want, you can skip the JavaScript altogether.
What's nice about JSFiddle is that you can add External Requests in the sidebar. This lets you include off-site JavaScript and CSS files for enhancing your HTML. Also useful is the Tidy button, which automatically cleans up your code's indentation, while clicking Collaborate allows real-time online collaboration.
The only downside is that you must click the Run button to update the preview panel.
Consider JSBin as a simpler and cleaner alternative to JSFiddle. You can edit any combination of HTML, CSS, and JavaScript just by toggling the panels with the top toolbar. For maximum flexibility you can also toggle the preview panel and a console panel as required.
But whereas JSFiddle allows you to link external CSS and JavaScript resources, JSBin limits you to predefined JavaScript libraries. The selection is good though, ranging from jQuery to React to Angular and more.
While JSBin is free and doesn't require an account, you'll need a Pro account for advanced features. These include private bins, custom embeds, asset hosting, Dropbox sync, and vanity URLs for pages published through JSBin.
4. Liveweave
Liveweave is visually similar to the previous editors, with a pleasing user interface. Like JSFiddle, Liveweave allows for real-time collaboration, and like JSBin, it lets you link in predefined third-party resources like jQuery.
But it has a few unique features too. The Lorem Ipsum Generator creates placeholder text at your current cursor position. The CSS Explorer provides a WYSIWYG tool for creating CSS styles and the Color Explorer helps you select perfect colors. Meanwhile, the Vector Editor enables you to create vector graphics for your site.
5. HTMLhouse
HTMLhouse is a good option if you only care about HTML (i.e. no CSS or JavaScript). Clean and minimal, it's split vertically with editing on the left and real-time preview on the right.
Useful is the ability to publish your HTML and share it privately (via private URL) or publicly (added to HTMLhouse's Browse page ). It's simple but effective, which is exactly where an online HTML editor comes into play and excels.
Note that HTMLhouse was created and is maintained by the folks at Write.as , a distraction-free online writing tool. Keep this in mind if you plan to write your own site content.
Another option HTMLG follows the same pattern of using code and preview panes for HTML. However, this tool doesn't include CSS and JavaScript within the same unified project. Rather, if you want to edit those, you'll need to open a new tab and edit them as separate projects.
This makes it ideal for pure HTML tweaks and testing code in your browser; less so if you want to incorporate CSS edits.
Note that there is a 300-word limit if you're testing full web pages with HTMLG. To increase this, you can sign up to the ad-free premium version, starting from as little as $5.80 a month.
Offering a slightly different take on online HTML editors, Dabblet splits the screen in two, rather than three/four panes. So, you have a view for HTML & Result, and a separate (but linked) view for CSS & Result.
This offers more space, giving a clearer view of the code and the preview. Further, the built-in w3.org HTML and CSS validator highlights any issues.
If you need a clear desktop space to test your site code, this might be the best HTML editor for you.
Use the Best Online HTML Editors to Improve Your Skills
If your only exposure to HTML is what you learned a decade ago, now is the time to catch up. HTML5 released back in 2014 and introduced a handful of new standards and features. Not sure where to start? Check out these essential new HTML5 elements .
Want to learn good practices in HTML5 web design and development? Check these websites with quality HTML coding examples . You should also take a look at these other tools for upgrading your web development skills .
You are using an old browser that is not supported anymore. You can continue using the site, but some things might not work as expected.

- XML Formatter
- JSON Formatter
- HTML Formatter
- SQL Formatter
- XML Validator
- JSON Validator
- HTML Validator
- XPath Tester
- Credit Card Number Generator & Validator
- Regular Expression Tester
- Java Regular Expression Tester
- Cron Expression Generator (Quartz)
- XSD Generator
- XSLT (XSL Transformer)
- XML to JSON Converter
- JSON to XML Converter
- CSV to XML Converter
- CSV to JSON Converter
- YAML to JSON Converter
- JSON to YAML Converter
- Epoch Timestamp To Date
- Url Encoder & Decoder
- Base 64 Encoder & Decoder
- Convert File Encoding
- Message Digester (MD5, SHA-256, SHA-512)
- HMAC Generator
- QR Code Generator
- JavaScript Beautifier
- JavaScript Minifier
- CSS Beautifier
- CSS Minifier
- String Utilities
- HTML Escape
- Java and .Net Escape
- JavaScript Escape
- JSON Escape
- Lorem Ipsum Generator
- List of MIME types
- HTML Entities
- Url Parser / Query String Splitter
- I18N Standards / Code Snippets

HTML Validator - Linter
Validates HTML files for compliance against the W3C standards and performs linting to assess code quality against best practices.
Find missing or unbalanced HTML tags in your documents, stray characters, duplicate IDs, missing or invalid attributes and other recommendations.
Supports HTML5, SVG 1.1, MathML 3.0, ITS 2.0, RDFa Lite 1.1. Implementation is based on Validator.Nu .
We use cookies to analyze how you use our site and show ads related to your preferences. By continuing to use our site, you agree our use of cookies, terms of use and privacy policy .

- Web Page Analyzer
Free online web page analyzer . Check and validate the web pages for important tags and contents.
What is Web Page Analysis?
It means to analyze the web page contents (HTML data) and to check if it contains some important tags that can be helpful for SEO purposes. It also validates for proper enclosing of tags, and mark any un-encoded text left which otherwise may have some different meaning.
Related Tools: Text Analysis | Web Page Comparison | Keyword Density Checker | HTML Source Viewer
Domain Tools
- Backlink Checker
- Blacklist Lookup
- Cloaking Checker
- Domain Availability
- Domain Suggestion
- IP Location
- MX/NS/SOA Record Lookup
- Proxy Detector
- Reciprocal Link Checker
- Reverse IP Domain Lookup
- URL Deobfuscator
- URL Redirection Checker
- Website Speed Test
- What is my IP
- Who is Hosting This
- Whois Lookup
- Broken Link Checker
- Browser Information
- Compression Checker
- Email Extractor
- HTML Encoder Decoder
- HTML Encrypter
- HTML Optimizer
- HTML Source Viewer
- HTML To Text Converter
- HTTP Header Viewer
- JavaScript Extractor
- Link Extractor
- Meta Tags Extractor
- Meta Tags Generator
- URL Encoder Decoder
- Web Page Comparison
Search Engine Tools
- Alexa Rank Checker
- Bulk Domain Checker
- Fake PageRank Checker
- Google Banned Checker
- Googlebot Last Access
- Keyword Density Checker
- Keyword Suggestion
- Keyword Typo Generator
- Link Popularity Checker
- Multi Rank Checker
- PageRank Checker
- Position Checker
- Sitemap Generator
- Social Bookmark Checker
- Spider View
- CSV Table Converter
- List Cleaner
- List Comparison
- Remove Line Breaks
- Text Analysis
- Text Case Changer
- Text To HTML Converter
Miscellaneous Tools
- .htaccess URL Rewrite
- Color Palette Generator
- Email Protector
- Email Validator
- Google Adsense Preview
- Hex-Bin-Dec Converter
- IP Address Number Converter
- MD5 Encrypt
- Port Scanner
- Random Password Generator
- URL Expander
- XHTML Characters List
Online HTML Tester - HTML Viewer
What is html.
- HTML stands for Hyper Text Markup Language
- HTML is the standard markup language for creating Web pages
- HTML describes the structure of a Web page
- HTML consists of a series of elements
- HTML elements tell the browser how to display the content
- HTML elements label pieces of content such as "this is a heading", "this is a paragraph", "this is a link", etc.
How to HTML Tester?
Step 1: Select your input. Enter Data.
Step 2: Choose output options (optional) Output Options.
Step 3: Generate output.
How does HTML Viewer work?
HTML Viewer online uses JavaScript code to parse HTML and preview HTML data.
Just Paste your HTML code and click Run / View. This tool does not send code to the server for preview.
In the case of file upload, Browser reads the file, and for URL upload, it sends the URL to the server, returns HTML data, and then views it in the Output section.
Online HTML Tester helps you to test and preview html code and get result.
Related tools.
- Website Download Online
- Audio Speed
- Resize Audio
- HTML Tester
- Resize Video
- HTML To PHP Converter
- SASS To CSS
- CSS3 Animation
- Video Aspect Ratio
- SQL to Text
- AAC to FLAC
- FLAC to AAC
Analyze CSS
- Analyze by URL
- Analyze direct CSS input
Prettifying makes inspecting the CSS easier, but very slighty changes the numbers.
This analyzer will show you everything you want to know about your code and a whole lot more. Think Source Lines of Code, selector complexity and specificity or which CSS units are used the most. Anyone who audits CSS can’t do without these metrics. Here are some of the questions this analyzer will answer:
- How many Source Lines of Code is my CSS?
- What is the average Rule size of my CSS?
- How many selectors are there in my largest Rule?
- What is the highest selector specificity in my CSS?
- How high is my total selector complexity?
- Which CSS units are used?
- What color formats are used the most?
- How many unique colors are there in my CSS?
- How many unique font-sizes are there in my CSS?
- How many unique font-families are there in my CSS?

- No ads and limitations
- No link inserts
- Save & dowlnoad settings
- Auxiliary editor
- Tag manager
- Tag & attribute filters
- Tag and tag attribute filters

Default Close Clean
Online HTML Editor - Free Online Instant WYSIWYG Editor
The best real-time online HTML editor with dynamic instant live visual preview, inline WYSIWYG editor and source cleaning features. Includes a HTML viewer, editor, compressor, beautifier and easy formatter. It's impossible to create invalid code with this tool.
How To Use The HTML Editor?
The operation of this free online tool with built-in HTML Cleaner is very intuitive and it's working in your web browser without installing any additional program. Compose your text using the WYSIWYG editor on the left and adjust formatting of the source code on the right. To convert Microsoft Word, PDF or any other rich-text documents to HTML, simply paste it in the visual editor. Perform bulk operations on the HTML code by clicking the Clean button after adjusting the settings.

The visual editor works like a regular text composer, just use the commands above the text area to adjust the content and in the meantime you'll notice the source editor changing with it. If you're familiar with HTML code composing then you can adjust the code on the right.
Being a free demonstration for the pro version, this tool has its limitations such as showing ads and having fewer options.
The Control Panel of the WYSIWYG Editor
The control panel above the HTML source editor lists the most important commands:
Other Important Features
Use these HTML editor features to practice and to maximize your coding efficiency.
- Document converter – To convert any visual document like Excel, PDF, Word to HTML just paste the doc in the visual editor and the markup will show up instantly on the right.
- Online text editor – Compose documents, just like in any rich text editor. Use the control panel to include images, tables, headings, lists and other items to your paper.
- Copy - paste – The editor won't allow you to save the documents. For this you have to copy your generated code into a blank text file, change its extension to .html and open it in a web browser .
- Work with tables – Using the WYSIWYG editor panel you can create a table of any dimmension with only 2 clicks. There's a cleaning option to convert them to structured and styled DIV tags.
- Undo – Both editors have this function which allows to revert back to a previous state if something goes wrong. For example, to restore the document before performing the cleaning.
- Interactive demo – Take a 4-step tour going through the features clicking the Quick Tour menu item. Learn how to use the redactor and experiment with the demo text.
Never forget:
- Have a backup before using this tool to make sure you can always revert back to your original document.
- Always check your code before publishing on a live website. Check the quality of the article.
- This editor never saves or sends out your document, all operations are performed on your local computer.
- Like most websites, we also use cookies to save settings, to collect visitor analytics and to show tailored ads.
Div Table Styling
Make sure you apply the CSS code below when you publish tables converted to div elements. Try the interactive online table styler which can generate grids from both div and table elements.
Please note that the class names used by us are slightly different than the ones used by DivTable.com.
Click and copy the code from the field below: .rTable { display: table; width: 100%;} .rTableRow { display: table-row; } .rTableHeading { background-color: #ddd; display: table-header-group; } .rTableCell, .rTableHead { display: table-cell; padding: 3px 10px; border: 1px solid #999999; } .rTableHeading { display: table-header-group; background-color: #ddd; font-weight: bold; } .rTableFoot { display: table-footer-group; font-weight: bold; background-color: #ddd; } .rTableBody { display: table-row-group; }
- Preview (Alt+1) button renders the HTML code in a new tab.
- Highlight (Alt+2) button shows the entire highlighted code in a new tab.
- Format (Alt+3) button beautifies the HTML text.
- Expand all (Alt+4) button expands all elements.
- Collapse all (Alt+5) button collapses all elements.
- Sample (Alt+6) button puts a sample HTML text into the editor.
- Clear (Alt+7) button erases the editor text.
- jQuery ( license )
- Bootstrap ( license )
- Font Awesome ( license )
- Text Online Viewer
- JSON Online Viewer
- XML Online Viewer

HTML Online Viewer
🔴 How to build and monetize Actors on Apify Store: live webinar on Nov 30

No credit card required

Page Scraping Analyzer
Performs analysis of a webpage to figure out the best way how to scrape its data. Provide a URL and data points to find and get back a detailed dashboard showing how the data can be scraped. Works with initial and rendered HTML, JavaScript variables and dynamically loaded data.
Page Scraping Analyzer is an actor that helps its users find data sources on a website. Its main purpose is to help a user quickly analyze their options for extracting data from a website and provide CSS selectors, JavaScript code and HTTP requests that can be used to extract the data.
When to use Page Scraping Analyzer
Page Scraping Analyzer can be used as a first step in a web scraper developement. Its goal is to automate the process of analyzing a website manually using tools like browsers developer tools or Postman to:
- Analyze the structure of the website
- Find the CSS selectors of HTML elements containing a keyword
- Find keywords in additional sources that might not be visible on the screen like JSON+LD, metadata, schema.org data
- Observe and replicate XHR requests that might contain the data a user wants to scrape
Where is data stored on a website?
There are many sources of data on a website, some are not even visible on the screen. The same data point can be present in more than one source.
Here are some examples of where data can be stored on a website:
- HTML elements rendered on the server
- Rich JSON data inside <script> tags (JSON+LD, schema.org, Next.js data)
- HTML elements rendered on the client
- Initial HTML response - Can be parsed from the script tags with HTTP only
- XHR responses - Loaded later after the initial HTML response
- GraphQL API
- WebSocket connections
- Can be in any other format like HTML snippets
How Page Scraping Analyzer works
The Page Scraping Analyzer works in multiple steps looking for data sources. For every step, it stores the sources and provides a CSS selector, JavaScript code or an HTTP request that can be used to extract the data.
It uses both browser and HTTP to provide all options to scrape the available data.
With browser:
- Open the page and records the initial HTML response. Finds all HTML elements and <script> tags containing the keywords.
- Waits for the page to render. Finds all HTML elements and JavaScript variables containing the keywords. Stores a diff between the initial HTML response and the rendered HTML.
- Waits for the page to load all XHR requests. Finds all XHR responses containing the keywords.
- The same as step 1 with the browser - It is useful to know that you can scrape the same data with HTTP-only scrapers like Cheerio because it is much faster and cheaper.
- First tries to use only generic HTTP headers
- If it fails, it tries to use the headers recorded by the browser without cookies
- If it fails, it tries to use the headers recorded by the browser with cookies (this can still be automated but requires to get cookies from the browser and then use them for X HTTP requests)
What scraping methods to choose after analysis
Some websites will require to combine multiple sources of data. Some are faster & cheaper to use, some are in nicer formats. Generally, it is best to try them in this order:
- XHR requests with HTTP - extremely fast and cheap and usually in a nice format like JSON. Might require combining multiple requests to get all the data. Might require complex headers and body to be replicated.
- <script> tags from the initial HTML response - often contains all the data in a nice JSON format. Requires parsing the JSON out of the script text
- HTML elements from the initial HTML response - requires using multiple CSS selectors to get all the data.
- JavaScript variables from the rendered HTML - usually contains all data in nice JavaScript objects.
- HTML elements from the rendered HTML - requires using multiple CSS selectors to get all the data.
- Intercepting XHR requests with a browser - requires waiting and sometimes interaction with the page. Might require combining multiple requests to get all the data.
- HTML elements rendered after all XHR responses were processed - requires long waiting and sometimes interaction with the page. Requires using multiple CSS selectors to get all the data.

- Modified 4 months ago
- Developer tools
You might be interested in

Web Scraper

Website Content Crawler

Cheerio Scraper

Content Checker

Puppeteer Scraper

Google Sheets Import & Export

Website Checker
Beautifulsoup scraper.

Playwright Scraper
Related articles.

Where next?
Are you a developer? Build your own Actors and run them on Apify.
Get a complete web scraping or automation solution from Apify experts.
WebSiteOptimization.com
Higher traffic and speed guaranteed.™

Web Page Analyzer – 0.98 – from Website Optimization
Free website performance tool and web page speed analysis.
Try our free web site speed test to improve website performance. Enter a URL below to calculate page size, composition, and download time. The script calculates the size of individual elements and sums up each type of web page component. Based on these page characteristics the script then offers advice on how to improve page load time. The script incorporates the latest best practices from Website Optimization Secrets , web page size guidelines and trends, and web site optimization techniques into its recommendations.
Help Speed Up the Web
Tired of waiting for slow web sites? Support this free website optimization tool by linking to this page, or WebPageAnalyzer.com. Help spread the word about this free website speed test by linking back to the analyzer with the example HTML below.
<a href="http://www.webpageanalyzer.com">Web Page Analyzer</a> - Free web page analysis tool calculates page size, composition, and download time. Gives speed recommendations based on best practices for usability, HCI, and website optimization.
Consider optimizing your site – with our Website Optimization Secrets book, contacting us about our optimization services, or our Speed Tweak tutorials.
Related Website Optimization Services
Try our targeted services to optimize your web site’s ROI.
- Speed Optimization and Analysis Service now includes Web Graphics Optimization
- Search Engine Marketing
- Website Development Services – Includes Professional Redesigns
Version History
See the version history for all revisions.
OnlineGDB beta
Online compiler and debugger for c/c++.
- My Projects
- Classroom new
- Learn Programming
- Programming Questions
Autocomplete: on off
WordWrap: on off
Compiling Program...
- Debug Console
Program is not being debugged. Click "Debug" button to start program in debug mode.
Local variables, display expressions, breakpoints and watchpoints, possible reasons for runtime exceed error.
- If your program is reading input from standard input and you forgot to provide input via stdin.
- Your program contains infinite loop, which may never break.
- Your program contains infinite recursive function calls.
- May be your program is trying to process large data and it takes much time to process
New Version Available
Running turbo c project, save project, extra compiler flags, are you sure you want to delete file ` `, rename file, lost connection to server.
Oops! Connection to server is lost. Please refresh the page to reconnect.
Debug session stopped
Debug session is being stopped due to inactivity.
Debug mode for python program is not yet supported.
Login to your account, login with sign up, run console session stopped.
Run Console is being stopped due to inactivity.
Add School/University/Institute
Keyboard shortcuts.
Advertisement
Supported by
News Analysis
Between Israelis and Palestinians, a Lethal Psychological Chasm Grows
In a conflict marked by complete incomprehension on both sides, the ability to see each other as human has been lost.
- Share full article

By Roger Cohen
Reporting from Jerusalem
Eight years after the foundation of the state of Israel, Moshe Dayan, the chief of staff of the Israeli military, stood close to the Gaza border to pronounce a eulogy for a 21-year-old Israeli security officer slain by Palestinian and Egyptian assailants.
“Let us not today cast blame on his murderers,” he said in 1956. “What can we say against their terrible hatred of us? For eight years now, they have sat in the refugee camps of Gaza and have watched how, before their very eyes, we have turned their land and villages, where they and their forefathers previously dwelled, into our home.”
His short speech, a little longer than Lincoln’s Gettysburg Address and a powerful reference for Israelis, is perhaps recalled less for this insight into Palestinian anger than for Mr. Dayan’s resolute conclusion.
“Without the steel helmet and the cannon’s maw, we will not be able to plant a tree and build a home,” he said.
Today, 67 years later, at a time when Jews have again lost their lives to Palestinian gunmen at the same kibbutz, Nahal Oz, that Roi Rotberg guarded, Mr. Dayan’s explicit evocation of the sources of Palestinian “hatred and desire for revenge” remains rare in Israel. Many Israelis have preferred to avert their gaze from the rage at their doorstep.
In the same way, Palestinian insight into the devouring specters of antisemitic persecution awakened in Jews by the Oct. 7 Hamas terrorist attack appears negligible. Mutual empathy is very hard to find.
“Each side begs for the status of five-star victim,” said Mohammad Darawshe, the director of strategy at the Givat Haviva Center for Shared Society in Jerusalem, which promotes Jewish-Arab dialogue. “If you are stuck in victimhood, you see everyone else as victimizing and dehumanizing.”
The consequence is a psychological chasm so deep that Palestinians are invisible as individuals to Israeli Jews, and vice versa. There are exceptions , of course: Some Israelis and Palestinians have dedicated themselves to bridging that divide. But generally, the narratives of the two sides diverge, burying any perception of shared humanity.
The 1948 Arab-Israeli War, known to Israelis as the War of Independence, is the Nakba, or catastrophe, to Palestinians. Nakba vies with Holocaust as each side invokes “genocide.”
The relentless weaponization of history goes all the way back to biblical times and the divergent fates of the estranged sons of Abraham — Isaac, the patriarch of the Israelites, and Ishmael, a prophet of Islam.
“On Oct. 7, Hamas trampled on every sensitive nerve in the Israeli psyche,” said Itamar Rabinovich, a former Israeli ambassador to the United States. “Hatred, fear and anxiety are now at their most extreme. But in the end there are two peoples coveting the same land, and two sides to the story you have to try to see.”
The demonization knows no bounds. Since the Hamas attack last month, Yoav Gallant, the Israeli defense minister, has spoken of fighting “human animals.” Ismail Haniyeh, the head of the Hamas political bureau, has described Israel as “neo-Nazis supported by colonial forces.” Benjamin Netanyahu, the Israeli prime minister, has in turn called Hamas “the new Nazis.”
One Israeli lawmaker, Ofer Cassif, has alluded to “pogroms” against Palestinians to describe the relentless Israeli bombardment of Gaza, a word whose specific historical meaning is the slaughter of Jews and a word that many Israelis have used to describe the killing by Hamas of some 1,200 people last month, according to the Israeli authorities.
Of course, wartime propaganda describing enemies as monstrous is not confined to the Middle East. The United States portrayed the Japanese as subhuman during World War II, and the Japanese represented Americans as deformed brutes. Nazis depicted Jews as vermin to justify mass murder.
But something in the Israeli-Palestinian confrontation — two peoples located at the nexus of places holy to Judaism, Islam and Christianity — imbues the conflict with a peculiarly ferocious charge resistant to every attempt to tame its potency.
“After 76 years, Israelis and Palestinians have only one thing in common: the sense of living beside people who want to kill you,” said Rula Daoud, a Palestinian Israeli who works to promote peace as a director of an organization called Standing Together.
She dates her decision to try to build bridges between the two peoples to an incident in a bakery in the southern Israeli city of Ashdod during the 2014 war in Gaza. She was standing in line for bread reading a newspaper with a photograph of Palestinian children who had been killed. “I hope they all die, I hope they all burn to death!” the Israeli woman next to her exclaimed.
“Oh really?” Ms. Daoud said, gripped by rage. “Shall we stand on the roof here and watch the children of Gaza burn?”
Soon after, she quit a job in audio therapy, determined to overcome the blindness of hatred.
But in general the decades since the collapse of the Oslo Accords in 1993 have accentuated the psychological gulf. Day-to-day interaction between Israelis and Palestinians in the West Bank and Gaza has been drastically reduced by walls and fences in a push for physical separation.
Almost forgotten are the Palestine Liberation Organization’s recognition in 1993 of Israel’s right to exist in peace, and Prime Minister Yitzhak Rabin’s determination to pursue that peace, a decision that cost him his life in 1995 at the hands of an extreme right-wing Israeli assassin who said he acted “on the orders of God.”
These were the ephemeral glimmerings of shared humanity, soon quashed.
In the intervening decades, Hamas and the ultranationalist religious Israeli right have each extended their influence. The conflict now involves fundamentalist religious ideologies, distinct in critical regards but equally convinced that all the land between the Mediterranean Sea and the Jordan River has been deeded to them by God.
A political and military struggle between two national movements for the same land can be resolved by compromise, at least in theory. France and Germany settled their differences in Alsace-Lorraine. Peace came to Ireland. But absolutist claims of divine right to territory appear impossible to reconcile.
“The humanity of the other is less acknowledged for the simple reason that human contact has become rare,” said Yuval Shany, a professor of international law at the Hebrew University of Jerusalem. Where there is contact, as between Israel’s Jewish and Palestinian populations, some measure of empathy stirs.
In 2014, during an earlier round of Israel-Hamas fighting, I stood in eastern Gaza City, gazing at tangles of iron rods, jagged outcrops of masonry and air thick with dust. At the time, a 9-year-old child in Gaza had memories of three wars in six years and needed no indoctrination in hatred.
Mahmoud al-Zahar, a co-founder of Hamas, whose charter calls for Israel’s destruction, told me in an interview that year: “Israel will be eliminated because it is a foreign body.” Referring to Israeli Jews, he said, “Why should they come from Ethiopia, or Poland or America? There are six million in Palestine. OK, take them. America is very wide. You can make a new district for Jews.”
The delusional fantasy that the enemy can be made to vanish has since grown. “On the Palestinian side, the ideal solution has become that Israel disappear,” Professor Shany said. “On the Israeli side, there is a desire for Gaza to go away, even if that means bombing it away. Of course, that is not a solution.”
Neither people, Israeli nor Palestinian, present in roughly equal numbers on the land to which they are fiercely attached, is going away. But increasingly each has denied even the identity of the other. West Bank Palestinians seldom refer to “Israelis,” almost always to “Jews.” Israel resists calling its Arab minority, more than 20 percent of the population, “Palestinians,” which is what they are.
“You are dealing with two traumatized peoples,” said Gershom Gorenberg, a historian and author. “The trauma of the present is linked to multigenerational trauma. People can’t even agree on events, let alone what the events mean.”
A deadly explosion occurred at the Ahli Arab Hospital in Gaza City on Oct 17. Beyond that, everything about it is disputed.
Absent recognition, dialogue or understanding, blood flows. Mr. Rabinovich, the former Israeli ambassador, said he had seen a video of a Hamas gunman involved in the Oct. 7 massacre. The gunman phones his father back in Gaza and says: “I am on the other side killing Jews. They cannot live happily when we live the way we live.”
The Palestinian hatred Moshe Dayan perceived and vowed to resist by being “prepared and armed, strong and determined,” grows still, fed by Israeli oppression, fencing-off and control, as well as chronic Palestinian misgovernment. Palestinians in Gaza, whose dead number more than 12,000 according to the health ministry in Gaza, fear annihilation.
These fears are met by the “Never Again” of a Jewish people that knows the meaning of genocide in the form of the Holocaust and sought through the foundation of its own state to put an end to millennial persecution.
The defeat on Oct. 7 was a shattering blow to this aspiration. This war in Gaza, triggered by Hamas’s ruthless application of its charter, is existential in that sense for an Israel that suddenly feels smaller and more vulnerable.
“If we cannot get beyond the walls, share this land, and come to value life over death, we are all doomed,” Ms. Daoud said. “Every three years or so, we will be sending kids of 18 and 19 to their deaths.”
An earlier version of this article referred incorrectly to the lawmaker Ofer Cassif. He is Israeli, not Palestinian Israeli.
How we handle corrections
Roger Cohen is the Paris bureau chief. He has worked for The Times for 33 years and has served as a foreign correspondent, foreign editor and an Opinion columnist. In 2023, he won a Pulitzer Prize and George Polk Award as part of Times teams covering the war in Ukraine. More about Roger Cohen
Our Coverage of the Israel-Hamas War
Al-Shifa Hospital: Israel is trying to produce evidence for its claim that Hamas has been using tunnels under Gaza’s largest hospital as a command center. Palestinian officials and doctors at Al-Shifa have denied Israel’s accusations.
Israel’s Military Strategy: Israel is making progress in Gaza, but it has not vanquished Hamas or freed most of the hostages. Is the Israeli strategy working ?
A Psychological Chasm: In a conflict marked by complete incomprehension on both sides, the ability of Israelis and Palestinians to see each other as human has been lost .
A Secret Back Channel: For years, an Israeli peace activist and a Hamas official shuttled messages between Gaza and Israel. Then Oct. 7 happened .
The Conflict’s Global Reach
American Colleges: Students for Justice in Palestine, a national college group, has fueled activism and has been blocked on some campuses . Critics have accused the group of intimidation and antisemitism.
Social Media: As the war floods social media with violent content and false information, some people have accused platforms like TikTok and Facebook of promoting biased posts. But the sites’ role in spreading hate online is becoming hard to assess .
Elon Musk: The tech billionaire faced blowback after he endorsed an antisemitic conspiracy theory online. The White House denounced him, and several major advertisers halted marketing on X , which he purchased in 2022.
Taking the Side of Peace: As Sally Abed, a Palestinian citizen of Israel, and Alon-Lee Green, a Jewish Israeli, traveled across America, they were struck by the polarization of the discourse surrounding the war. They are calling for a different approach .

IMAGES
VIDEO
COMMENTS
HTML Online Editor Previous Next HTML Editor With our online HTML editor, you can edit HTML, CSS and JavaScript code, and view the result in your browser. Run » Size: 281 x 260 <!DOCTYPE html> <html> <title> HTML Tutorial </title> <body> <h1> This is a heading </h1> <p> This is a paragraph. </p> </body> </html> This is a Heading
5 Answers Sorted by: 15 http://validator.w3.org/ The most important tool, to ensure validity. http://net.tutsplus.com/tutorials/html-css-techniques/30-html-best-practices-for-beginners/ http://developer.yahoo.com/performance/rules.html
The simple steps discussed below will enable you to use this Online HTML viewer quickly. Upload your HTML code by clicking on the "Upload" button. (Note: You can also type your HTML in the given box on this online utility Or enter the code by simply copy/pasting it.) Once you have entered the HTML, you will get the best possible output of ...
HTML Viewer online is easy to use tool to view and format HTML data. Copy, Paste, and HTML View. An HTML Viewer is a browser-based application that displays the HTML code of a web page to facilitate debugging or editing. It can also be used to check the layout of HTML pages before they are published on the internet.
Write and run HTML, CSS and JavaScript code using our online editor. Our HTML editor updates the webview automatically in real-time as you write code. Give it a try.
HTML Online Code editor. Write, Run & Share HTML code online using OneCompiler's HTML online Code editor for free. It's one of the robust, feature-rich online Code editor for HTML language, running on the latest version HTML5. Getting started with the OneCompiler's HTML compiler is simple and pretty fast. The editor shows sample boilerplate ...
CKEditor 4's HTML source code editing feature allows it to be used as an online HTML editor. It includes syntax highlighting to make it easier for you to follow code. It can be forced to accept any type of code including tags by simply turning off the HTML filtering. You can also switch to WYSIWYG mode anytime to check how your code output looks!
7. Dabblet. Offering a slightly different take on online HTML editors, Dabblet splits the screen in two, rather than three/four panes. So, you have a view for HTML & Result, and a separate (but linked) view for CSS & Result. This offers more space, giving a clearer view of the code and the preview.
Analyze HTML size and catch bloat like inline images, large React hydration state, or code duplication. Browsers assign a high priority to HTML document requests, so low-priority content like embedded images or JSON data can be prioritized over resources that are immediately render-blocking.
Validates HTML files for compliance against the W3C standards and performs linting to assess code quality against best practices. Find missing or unbalanced HTML tags in your documents, stray characters, duplicate IDs, missing or invalid attributes and other recommendations. Supports HTML5, SVG 1.1, MathML 3.0, ITS 2.0, RDFa Lite 1.1.
It means to analyze the web page contents (HTML data) and to check if it contains some important tags that can be helpful for SEO purposes. It also validates for proper enclosing of tags, and mark any un-encoded text left which otherwise may have some different meaning.
This free online HTML validator (also known as HTML Linter) allows you to validate HTML code against the W3C standards. Categories Code Tidy Data Format Random Data Utils Test Your Web Or Mobile Apps On 3000+ Browsers Signup for free LambdaTest Free Tools HTML Validator Input Validate HTML Output What is HTML?
Pagelocity Chrome extension helps you with the click of a button, to get a structured analysis for your current open webpage. Install Chrome Extension 1600+ happy extension users. Test your webpage and get an analysis report. Then optimize your site for SEO, Resources, Code, and other important metrics.
HTML Viewer online uses JavaScript code to parse HTML and preview HTML data. Just Paste your HTML code and click Run / View. This tool does not send code to the server for preview. In the case of file upload, Browser reads the file, and for URL upload, it sends the URL to the server, returns HTML data, and then views it in the Output section.
Analyze your website's CSS in this fast, detailed analyzer. Enter a URL of paste in your raw CSS and get near-instant analysis.
Free Online Instant HTML Editor Change language: File Edit View Insert Format Tools Table Formats h1 240 words Clean Source: 4795 105 1 <!-- ####### HEY, I AM THE SOURCE EDITOR! #########--> 2 <h1 style="color: #5e9ca0;">You can edit <span style="color: #2b2301;">this demo</span> text!</h1> 3 <h2 style="color: #2e6c80;">How to use the editor:</h2>
HTML Online Viewer. A fast HTML highlighter with a live previewing. The HTML can also be formatted and its elements collapsed/expanded.
Performs analysis of a webpage to figure out the best way how to scrape its data. Provide a URL and data points to find and get back a detailed dashboard showing how the data can be scraped. Works with initial and rendered HTML, JavaScript variables and dynamically loaded data.
Web Page Analyzer - 0.98 - from Website Optimization Try our free web site speed test to improve website performance. Enter a URL below to calculate page size, composition, and download time. The script calculates the size of individual elements and sums up each type of web page component.
OnlineGDB is online IDE with HTML compiler. Quick and easy way to run html program online.
1. Detox - Data Science & Analytics HTML Template Detox is the perfect template for data science and analytics professionals. It comes with more than over 25 different HTML files, including blog templates, with layouts and designs that support the sharing of data, charts, graphs, and more. Other features include: A responsive design
This season, the Steelers offense ranked 28th in yards per game, 30th in yards and 28th in points per game. Since taking over as the starter, Pickett has thrown just 13 touchdowns and 13 ...
The Baltimore Ravens became the one seed in the AFC after the Kansas City Chiefs lost to the Philadelphia Eagles.
Nov. 14, 2023, 5:02 a.m. ET. The Times/KFF Health News data analysis was based on the Health and Retirement Study, a nationally representative longitudinal survey of about 20,000 people over age ...
A US appellate court decision Monday undercutting the Voting Rights Act of 1965 rejects decades of precedent and appears likely to provoke a confrontation at the US Supreme Court, where the ...
PITTSBURGH -- Pittsburgh Steelers head coach Mike Tomlin is under fire after the team's offense continued to struggle, with no signs of light on how they will fix it.
Biden won very liberal voters 92% to 6%. Biden's biggest decline is actually in the middle. He was ahead by a mere 12 points among moderates in Quinnipiac's poll and by 18 points in Marquette ...
Nov. 20, 2023. Eight years after the foundation of the state of Israel, Moshe Dayan, the chief of staff of the Israeli military, stood close to the Gaza border to pronounce a eulogy for a 21-year ...