Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Format of HTML bookmarks file

  • 2 replies
  • 2 have this problem
  • 28 views
  • Last reply by BernieC

more options

I want to set up a bunch of bookmarks in FF [84.0.1] and I cannot find out what the acceptable bookmark format is. [the bookmarks will come from someone else so I'd like to write a program to generate the appropriate import file]. I've tried edit an exported HTML file and then importing that [modified] file and it doesn't seem to work at all, so I'm clearly not understanding what has to be in the file so it'll work.

My plan/hope was to be able create a file with

<DL><P>
   <DT> FOLDERNAME 
   <DL> <P>
        <DT> <A HREF=URL> name for the bookmark</a>
       <DT> <A HREF=URL> name for trhe bookmakr</a>
               ...
    </DL>
</DL>

Is that even vaguely close to something that'll work?

Modified by cor-el

Chosen solution

Hi, I'm not aware of an official document, although there might be one out there.

When you strip it down, Firefox will import this structure successfully:

<DL>
    <DT><H3>Folder Name 1</H3></DT>
    <DL>
        <DT><A HREF="https://support.mozilla.org/en-US/products/firefox">Help and Tutorials</A></DT>
        <DT><A HREF="https://support.mozilla.org/en-US/kb/customize-firefox-controls-buttons-and-toolbars">Customize Firefox</A></DT>
    </DL>

    <DT><H3>Folder Name B</H3></DT>
    <DL>
        <DT><A HREF="https://www.mozilla.org/en-US/contribute/">Get Involved</A></DT>
        <DT><A HREF="https://www.mozilla.org/en-US/about/">About Us</A></DT>
    </DL>
</DL>

(You don't need to close the <DT> tags, but I recommend it so that if you view the HTML in a syntax highlighting editor, it will be well understood.)

Read this answer in context 👍 1

All Replies (2)

more options

Chosen Solution

Hi, I'm not aware of an official document, although there might be one out there.

When you strip it down, Firefox will import this structure successfully:

<DL>
    <DT><H3>Folder Name 1</H3></DT>
    <DL>
        <DT><A HREF="https://support.mozilla.org/en-US/products/firefox">Help and Tutorials</A></DT>
        <DT><A HREF="https://support.mozilla.org/en-US/kb/customize-firefox-controls-buttons-and-toolbars">Customize Firefox</A></DT>
    </DL>

    <DT><H3>Folder Name B</H3></DT>
    <DL>
        <DT><A HREF="https://www.mozilla.org/en-US/contribute/">Get Involved</A></DT>
        <DT><A HREF="https://www.mozilla.org/en-US/about/">About Us</A></DT>
    </DL>
</DL>

(You don't need to close the <DT> tags, but I recommend it so that if you view the HTML in a syntax highlighting editor, it will be well understood.)

Helpful?

more options

thanks -- that's the information I was looking for. I'll be trying it Xmas day [since we're sheltering in place and it'll be a quiet day :)]

Helpful?

Ask a question

You must log in to your account to reply to posts. Please start a new question, if you do not have an account yet.