Good day to all!! I want to build a Table of Contents with the name title to some sections parts in the same page. How can I do that? When I apply the anchor to the items in the table of contents, it just disappears. Thank you all!
The web site is not in the Internet yet, is still under construction. I’m building a web page for the Academic discipline History. In it there are some sections (kind of long section) so, I want it to have a table of contents, say: Definition Etymology Philosophy Methodology Historiography Historians I want every one of those headlines to link to the corresponding paragraph on the page.
'cause I am trying to buidl it yet, started with the table of contents and the titles, but no content yet, just the plain html structure. I want to build something like a wikipedia page but not so complex just the before said contents titles.
How can we help you?
Can you let DW create a page for you, and then place a few test TOC entries and some target paragraphs lower dow the page.
Then do your best to apply the named anchor code?
Copy and paste your page code in a post here..
In general, here's the best way to do what you want -
In the TOC at the top, you would have -
Then on the page below this list you would have -
<p id="entry1">some content</p>
<p id="entry2">some other content</p>
Clicking on a link in the TOC would jump you down on the page to the paragraph with that same ID.
Mr. Murray, good day! Exactly, that is what I was thinking about, thank you I ask; Can the
be substituted with a
Can I just build the list with, say, write: entry1, line break, entry2, line break etc. or I should use: Format>List>unordered list Can I just build the list with, say, write: entry1, line break, entry2, line break etc. With Format>List>unordered list This is what I have:
You could write it as below if you don't want to use an unordered list (but its generally thought that a menu is a list so its good practice to use a list tag)
<p><a href="#history">History Sociology: a debate</a></p>
<p><a href="#philosophy">Philosophy of History</a></p>