nerdflighter: (pimms)
[personal profile] nerdflighter
In the middle of an unfollowing spree I remembered this blog on tumblr, which led me to this article about gifted child trauma, and I remembered that [personal profile] staranise had ranted to me about it a long time back, and wow :') nostalgia


checked the date on Lis's post and that was....four months ago? sounds extremely fake but okay


I want to learn how to do proper DW html - like the hovertext [personal profile] hellofriendsiminthedark adds to their posts, and the fact that when you add a cut using html you can also...make the cut text say other things? skdksd??

Date: 2019-02-10 01:23 am (UTC)
hellofriendsiminthedark: A simple lineart of a bird-like shape, stylized to resemble flames (Default)
From: [personal profile] hellofriendsiminthedark
Hello yes! Hover text takes the form of "title" inside html brackets. I think you might be referring to the hovertext I use on links, which says the title of the post it's linked to. In that case, instead of using your standard <a href="http://whatever.com">, you would add an extra bit to make it <a href="http://whatever.com" title="Hovertext contents">. The purpose is that one way screenreaders can quickly navigate pages of text is to skip to links, but if you format a link such that the text with the actual hyperlink says "click here" or something, the screenreader is just going to read "click here" and the person using it won't know what the linked page is supposed to be about. I include the title of the page I'm linking as the descriptive text in hopes that that's enough information for somebody jumping to links without the context of surrounding text. If you want the hovertext to include quotation marks (like sometimes my hovertext will say "Post title" by username), that involves some more work, so let me know.

If you mean hovertext over abbreviations, for example when I write my CW's, you use <abbr title="expanded abbreviation">. This code is strictly for abbreviations, so for example my CW code in full looks like: <abbr title="content warning">CW</abbr>.

If you want regular text to have hovertext (like this), you want to use <span title="hovertext">.

The way to make a cut tag say something other than "Read more..." is to use <cut text="whatever you want">. Whatever comes after "text=" becomes the text within parenthesis that you click to reach the full version of the entry.

Hope that helps! Html is pretty complicated if you're not used to how programming languages work, but if you practice it and experiment with it, you'll get the gist of how the syntax and rules work.
Edited (cleaned code, cleaned code again) Date: 2019-02-10 01:25 am (UTC)

Profile

nerdflighter: (Default)
nerdflighter

July 2020

S M T W T F S
   123 4
567891011
12131415161718
19202122232425
262728293031 

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Aug. 22nd, 2025 08:18 pm
Powered by Dreamwidth Studios