If you see this, something is wrong
To get acquainted with the document, the best thing to do is to select the "Collapse all sections" item from the "View" menu. This will leave visible only the titles of the top-level sections.
Clicking on a section title toggles the visibility of the section content. If you have collapsed all of the sections, this will let you discover the document progressively, from the top-level sections to the lower-level ones.
Generally speaking, anything that is blue is clickable.
Clicking on a reference link (like an equation number, for instance) will display the reference as close as possible, without breaking the layout. Clicking on the displayed content or on the reference link hides the content. This is recursive: if the content includes a reference, clicking on it will have the same effect. These "links" are not necessarily numbers, as it is possible in LaTeX2Web to use full text for a reference.
Clicking on a bibliographical reference (i.e., a number within brackets) will display the reference.
Speech bubbles indicate a footnote. Click on the bubble to reveal the footnote (there is no page in a web document, so footnotes are placed inside the text flow). Acronyms work the same way as footnotes, except that you have the acronym instead of the speech bubble.
By default, discussions are open in a document. Click on the discussion button below to reveal the discussion thread. However, you must be registered to participate in the discussion.
If a thread has been initialized, you can reply to it. Any modification to any comment, or a reply to it, in the discussion is signified by email to the owner of the document and to the author of the comment.
The blue button below that says "table of contents" is your tool to navigate in a publication.
The left arrow brings you to the previous document in the publication, and the right one brings you to the next. Both cycle over the publication list.
The middle button that says "table of contents" reveals the publication table of contents. This table is hierarchical structured. It has sections, and sections can be collapsed or expanded. If you are a registered user, you can save the layout of the table of contents.
First published on Friday, Jan 31, 2025 and last modified on Friday, Jan 31, 2025
I am normally hidden by the status bar
HTML is an internet document description language. Its vocabulary has much in common with other document description tools.
Objects in HTML are of two sorts : inline and block. Inline objects can be split, while blocks cannot.
The most common inline element is our good friend, the paragraph. You can put many kinds of things in paragraphs, as we shall see later.
Headings are used to create titles, but, besides that, they are not very different from paragraphs. There are some other variations on paragraphs, such as quotations, margin notes (the aside element), code text, cite (to reference creative content), and maybe a few more.
Some form elements may be considered as inline, but since they are mostly designed for user input (by contrast to the document display as such), we will treat them separately.
Inline elements can include several variations on text.
Links have been here since the beginning of the Internet, and most people think that they are simple to understand. It is beneficial, however, to consider them from a more general point of view. On the Internet, there are quite a few links that are more than usual static links as we know them. Some of these links can produce requests to a server, including some request parameters.
Let us take the simple example of a Google request. Pasting the following URL in your browser URL field
https://www.google.com/search?q=what+is+an+HTTP+requestwill actually send a request to https://www.google.com/search with a request that has a q parameter set to what+is+an+HTTP+request. Google will receive the request, and since it has a valid form, it will reply by serving a web page that is the response to the request. There are more complicated types of requests that we shall not discuss here. But remember that the humble link can do more than just redirecting you to a static URL.
Spans isolate portions of text to enrich them. For instance, a span can be used to style its text, or include various kinds of data. A span is an intermediary between ordinary text content and the more advanced functions of a web page.
The typical block element of a web page is the image. Obviously, this is not meant to be split into bits. But the most important block element in HTML code is a div, and as the span, it cannot be viewed directly in a web page.
The div elements in a web page create a block element. It makes a block out of its content. This is useful for styling and all kinds of processing on the web render and interaction. Divs are placed on top of each other. A div is the equivalent for blocks of spans for inline text.
Technically, flex blocks are not HTML content, but I think they have their place in this tutorial.
Usually, div blocks are placed on top of each other. The flex system makes it possible to align them horizontally, and wrap them in the web page as if they were huge letters in text.
In LaTeX2Web, these are implemented as grid environments, which contain gridItems. Each gridItem is a div block in the flex system.
Usually, minipage environments are used in LaTeX to place block content. Unfortunately, they are determined by fixed dimensions, and totally ignore the size of the device in which they are viewed. The best corresponding object in LaTeX2web is a gridItem inside a grid. Grids let you place things in columns, for instance, but with a setup that is adapted to mobile devices. In practice, the columns are side by side on a large screen, but they will be on top of each other on smaller devices.
Like everywhere, tables are special beasts. In the early days of the Internet, tables were used to implement page layout. Naturally, this approach was blown to bits when mobile devices emerged.
A specific feature of tables is that their size is determined by their content, while divs can constrain their content in size.
The practical result is that large tables may overlap the display on mobile devices. A solution consists in breaking the table into a collection of rows on mobile devices. Each row is a block that encapsulates the information about the row.
By default, this is not enabled in LaTeX2Web. To enable it, check the Use responsive tables on mobile option for your document.
Lists exist in HTML and are recursive. They can be numbered or unnumbered. You can specify the widget that is at the beginning of the list item, which is usually a bullet of a number. LaTeX2Web lets you specify Font Awesome icons as list markers, i.e., the element that starts the list item. You can also use emojis.
For more details, see the help about lists.
Forms a collection of input elements that let the user provide data to the browser. Although this is not technically mandatory, forms send the data to the server through a request. Usually, the request uses the POST method, which hides data from the browser. By contrast, the previous request for Google search used the 'GET' method, which exposes the data to the browser.
The nature of input elements in a form reflects both the diversity of the data being submitted and the corresponding user interfaces.
online HTML Tutorial
book: HTML and CSS: Design and Build Websites by Jon Duckett