Tag: HTML

How to save the entire HTML DOM in its current state

What is Document Object Model (DOM)? The content of a web page consists of HTML code received from a web server. But modern technologies (HTML 5 and JavaScript) allow you to change the content of a web page on the fly: JavaScript can add new elements, change the properties of existing elements, remove elements and perform a variety of actions...

Automatic code highlighting on websites

Automatic markup of code on sites In this article, you will learn how to enable syntax highlighting of the source code on your websites. Code highlighting means automatic coloring of program source code elements in different colors in accordance with the syntax of the programming language. The shown option is suitable for both WordPress sites and any other sites. Note:...

How to make images on a site (including WordPress) maintain the correct aspect ratio

How to maintain aspect ratio with HTML IMG tag An image inserted into a page has the correct proportions by default unless you change it. When viewing images on a mobile phone, the images are scaled, that is, resized to fit completely on the screen. Web pages work in a similar way, including sites running WordPress. But I noticed one...

What program to open .docbook files (DocBook)

In fact, .docbook files are not meant to be read - they are meant to be converted to HTML, man, PDF, DOCX, ODT, EPUB, FictionBook2, and many others. What is DocBook? DocBook is an XML-based standard used in many modern documentation tasks. When you want to create a DocBook document source, you write XML files that describe the document's layout,...
Loading...
X