Questions tagged [html]

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

31 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
5 votes
0 answers
50 views

HTML export: Customize footer

If I export a notebook to HTML, this is inserted at the end of every page: ...
  • 228k
5 votes
0 answers
62 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
0 answers
75 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 ...
  • 3,621
5 votes
0 answers
392 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 ...
  • 2,070
4 votes
0 answers
61 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 ...
  • 111
4 votes
0 answers
199 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 ...
  • 8,417
4 votes
0 answers
32 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
0 answers
67 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 ...
  • 45.8k
4 votes
0 answers
86 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: ...
  • 1,065
4 votes
0 answers
401 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 ...
  • 1,857
3 votes
0 answers
31 views

How to insert input into Jupyter notebook using WebExecute

I started web session and opened a Jupyter notebook in it: ...
  • 3,840
3 votes
0 answers
53 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: ...
  • 8,267
3 votes
0 answers
151 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 ...
  • 213
2 votes
0 answers
126 views

Find the best place to overlay text on an image?

I need to put text over a background image to make a nice looking banner. In order to find the best place to put it, I'd like to know the "focus points" of the image (basically the centers ...
  • 3,621
2 votes
0 answers
64 views

What is the best way to produce 3d images of tangles and show them on the web so that they can be rotated by the viewer?

On my html5 website on physics, I would like to add computer graphics of tangles, similar to the following photo, and I would like to allow users to rotate the image of a tangle and thus allow viewing ...
2 votes
0 answers
114 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:- <...
  • 3,389
2 votes
0 answers
107 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 ...
  • 228k
2 votes
0 answers
122 views

Importing HTML loses the Nested tags relation

...
  • 8,267
2 votes
0 answers
67 views

Problem of importing some special characters in HTML

content of the html file is as follows: <p> 被尊称为&ldquo;高贵的&rdquo; </p> method1: ...
  • 8,267
2 votes
0 answers
114 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
0 answers
50 views

Importing a local html file fails

Anyone have any idea why this is failing? The file is there. A file in the same (Windows 10) dir called "test.txt" imports exactly as expected. But .HTML files fail without a useful error ...
1 vote
0 answers
73 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 ...
  • 3,332
1 vote
0 answers
101 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
0 answers
118 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 ...
  • 8,267
0 votes
0 answers
67 views

Embedding a CDF on Web page

I'm using Mathematica 12.x, and I have created a CDF, which I tested using Wolfram Player. I'm trying to make it so that I can have the CDF to be used on a web page. I purchased a non-basic Wolfram ...
0 votes
0 answers
30 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 ...
's user avatar
0 votes
0 answers
185 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 ...
  • 8,267
0 votes
0 answers
414 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
0 answers
755 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 ...
  • 7,767
0 votes
0 answers
132 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 <...
  • 2,027
0 votes
0 answers
50 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 ...
  • 8,267