Questions tagged [html]

Questions related to the use of Mathematica for creating or manipulating HTML documents.

27 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
5
votes
0answers
36 views

HTML export: Customize footer

If I export a notebook to HTML, this is inserted at the end of every page: ...
5
votes
0answers
56 views

How to deploy a simple game as an html page

I have taken the following code from the mister Wizard answer to my old question Programming the fiver game ...
5
votes
0answers
57 views

Is there a way to use iframes in a notebook?

For me, mathematica online is totally unusable, but the EmbeddedServices would be great to use. I wish that these functions worked in Mathematica, is there any hack anyone can think of to get these ...
5
votes
0answers
365 views

Notebook manipulation to “Save as (HTML)”

In a previous question, I said that I wanted to display code as text in "Save as (HTML)". I am closer, but would like to ask the community for a better approach by telling the whole picture. I did my ...
4
votes
0answers
49 views

Problem with links when using Workbench (Eclipse version) HTML Documentation Build

I am building a package documentation with eclipse workbench. I have used the Mathematica code in the following link Workbench (Eclipse version) HTML Documentation Build HTML issues to fix some ...
4
votes
0answers
101 views

Does Mathematica's front-end notebook provide a way to render html inside it

Jupyter notebook provide a way to render html in its markdown language cells. I know Jupyter is browser based so clearly could be just using the browser's html renderer. But does Mathematica's ...
4
votes
0answers
29 views

DirectedEdge character doesn't appear when Save As HTML

The \[DirectedEdge] character doesn't appear when I save a notebook as HTML. Here's the notebook, which saves itself to HTML: Here's the HTML: In the HTML, the <...
4
votes
0answers
53 views

Convert Doc Notebook to HTML

Is there any built-in utility to convert a documentation notebook to the type of page that's on the Wolfram website, e.g. the web version of FormFunction from the ...
4
votes
0answers
80 views

Incompatibility between CDF document and reveal.js

I am making some reveal.js-based slides with a CDF document embedded. The minimal example include the files: ...
4
votes
0answers
390 views

How to remove scroll bars from embedded CDF

I am using the deploy command to embed a CDF file in an HTML page. I am using the annoying but currently necessary fullscreen:'true' trick to reveal the "Enable ...
3
votes
0answers
51 views

The value of PageWidth doesn't work for saving as HTML?

CellPrint@Cell["Test","Text",PageWidth->300,Background->Red] And I got this snippet of HTML code: ...
3
votes
0answers
139 views

Exporting CellFrameLabels to HTML

I have a notebook that has several cells with CellFrameLabels and I'd like to export the notebook to HTML. However, the CellFrameLabels are lost during export. Here's an example of what I'm working ...
2
votes
0answers
38 views

HTML export: How to link back to main page from subpages?

When exporting to HTML, there is an option to create separate pages for closed cell groups. This is done with the "ConvertClosed" -> "LinkedPage" option, or with ...
2
votes
0answers
100 views

Importing HTML loses the Nested tags relation

...
2
votes
0answers
60 views

Problem of importing some special characters in HTML

content of the html file is as follows: <p> 被尊称为&ldquo;高贵的&rdquo; </p> method1: ...
2
votes
0answers
106 views

Retrieving a Portion of Webpage Code using URLFetch

The URLFetch command is very useful for pulling the entire html source of a given webpage, however, if one wanted to speed up the process, by only requesting a ...
1
vote
0answers
48 views

How to use EmbedCode with CloudDeploy correctly?

I ran EmbedCode[CloudDeploy[Manipulate[Plot[Sin[x + c], {x, -6, 6}], {c, -1, 1}]]] based on this instruction and obtained the html code for embedding as below:- <...
1
vote
0answers
67 views

Mathematica 11 ignores AllowScriptLevelChange when exporting to HTML

It seems that the front end of the version 11 does not respect the AllowScriptLevelChange option when doing HTML export. Consider the following code (call it ...
1
vote
0answers
95 views

Two-step web data submission

I am trying to automate the process of downloading data from my univ. webpage. I need to submit the form in the URL below. http://202.88.252.21/CuPbhavan/res_newregentry.php?id=4789 An inspection ...
1
vote
0answers
113 views

How can I control the size of exported image in HTML code under certain magnification value?

I've inserted a picture in one cell, however, when I exported the cell as HTML, the size of my image in the html tag was doubled(the image file in HTMLFiles was the same as the original image). I ...
0
votes
0answers
23 views

Export HTML + MathML is skipping some math. Why? How to fix?

Using Mathematica's HTML export feature with MathML often skips some expressions, instead rendering them as plain HTML instead of MathML. Probably, in the options there is a way to force it, but how? ...
0
votes
0answers
29 views

How to avoid a textfile getting changed when exported as HTML?

How can I export whatever I like to an HTML file, without Mathematica ensuring that it conforms to any standard? In other words, how can I get Mathematica simply to assign an .html suffix to a string ...
0
votes
0answers
112 views

How can I convert urls to an IE bookmark

I've wrote a program notebook to convert chrome bookmark html to new chrome bookmark html, and it can also be imported into IE favorites. One can test it in your own chrome bookmark html[need do ...
0
votes
0answers
319 views

HTTP Status Code 403

I'm working with some scraping and have run into a bit of a problem. The website I am scraping is this: https://seekingalpha.com/symbol/CRM/stocktalks I am essentially trying to scrape the "stock ...
0
votes
0answers
643 views

How to prevent space trimming when importing HTML with ImportString?

I am importing a HTML-formatted string with ImportString[string, "HTML"] to properly parse all HTML-escaped characters like ...
0
votes
0answers
102 views

how to export to html using multiple css

I have to convert many notebooks to HTML so I'm trying to create all possible rules so to minimize the manual correction. The html pages need to have multiple css links, something like the following <...
0
votes
0answers
46 views

Possible bug of Exporting as HTMLFragment at Linux

This is the result of Mathematica 10.0.2 of Linux Version. There are two style inside one tag, and this fragment cannot be Imported as XML by Mathematica. This is the result of Mathematica 10.1 of ...