On the Font Awesome icons page, some icons are listed with (alias) after them. What does that mean?
The (Alias) means that there is more than one name for the font icon. For Example, icon-dollar is also icon-usd.
EDIT: It is probably best to use the default name rather than the alias name if you don't know which to use. Further, as the comment below states, use the name that best fits you activity or function.
Related
I am trying to make my HTML comment tags look like arrows instead of the usual <!-- and color them without coloring the whole comment like this in vs-code:
Example
I tried looking it up but all i found was how to change the font and color of the comment as a whole which is not what i am looking for, i just want the tags to be arrows and colored
Combining a sequence of characters into something that looks like a single character is called a ligature.
You need to:
Enable them in VS Code (Open the settings and search for the keyword fontLigatures, then set it to true)
Use a font that supports the particular ligatures you want to use (select the font, install it, then specify it with the fontFamily setting).
I'd like to refer to a specific part of a web page which I am not the author of, and which is not tagged with the NAME attribute. The specification of the part I have in mind could be made, e.g., as the location a certain word appears, and which could be manually reached via a FIND operation. I imagine something like
http://somesite.com#search-for:foo-bar
Is there some feature in HTML allowing for this?
No.
You can only link to elements with an id and a elements with a name.
How can I use for example the glyph name "rcaron.terminal" which has no Unicode value in HTML? or any other such case? Is it even possible? I think it must be surely but I got no clue. It's easy for regular letters like the glyph "ß" where I would just type "ß" and get that character or "ß" (same result) but for glyphs without any Unicode value I don't know what I'm supposed to do...? I've tried also "&rcaron.terminal" but nothing, where as something like "&hearts" would work giving a heart glyph of god knows what font, probably Arial I dunno.
Do I need to use state some specific encoding aside from ANSI in my html document?
ie. < meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-8" > or something... like Im really lost lol
All I found on the net was this http://text-symbols.com/html/unicode/ but I cant find any more info so I came here.
Please help! Thanks! :)
There are no glyphs in HTML which do not have a Unicode name.
If you really need to have a glyph which is not representable using regular Unicode, you might want to create a font of your own and define the glyphs you need in the private use area; but obviously, then, your HTML will be impossible to use without that particular font.
Background links:
http://arstechnica.com/information-technology/2008/10/embedded-web-fonts/
http://www.font-face.com/
Practical guides:
http://blog.fogcreek.com/trello-uses-an-icon-font-and-so-can-you/
http://blogs.atlassian.com/2013/07/how-to-make-an-icon-font-the-8-step-guide/
First navigate to this site: https://fontdrop.info/#/?darkmode=true
Upload the file with your font
Click on the Ligatures tab.
Every Glyph should have a Components field
copy the components for the character you want to use
paste that string into HTML
You don't need any & or #, it just detects the string and converts it.
I'm working with someone else's html file, which is to be sent as an email through a web software known as Exact Target. In the html template, I see <a alias=":Logo_hello_world">. This is the first time I've seen the alias attribute used in HTML mark up. What are alias attributes used for? Is it something specific to Exact Target? I tried to google the subject matter, but the alias attribute doesn't seem to be a popular attribute.
The alias tag in Exact Target can be set on links to track response to specific link in the cases where single urls is used multiple times (typically different areas) of the email.
It is important to keep each alias tag unique. If you use the same alias tag on all links, it will only show up once in the reporting.
I have a page at http://mydomain/articles/20131114 I'd like to add an anchor to a comments section. Obviously I could add the full tag URL http://mydomain/articles/20131114#Comments but I'd also find it really useful at be able to add a relative anchor from inside the document (e.g. something like #Comments). I can't find much documentation on this question so I'm not sure if this is possible or not.
can you help
Thanks
You are looking for a "named anchor"
From
Go to Comments
Target:
<a name="comments">Here is the comments section</a>
Please note that newer browsers prefer an ID instead of name
HTML Anchors with 'name' or 'id'?
That means you can keep the link but access any object with an id, which has to be unique
<h1 id="comments">Comments section</h1>
Yes, this is possible and always has been possible. This will do what you want:
Go to comments
This will take you:
either to an a element with the name Comments
or to any element with the id Comments
I agree that it's a little hard to find a specification for this. The best one is probably the specification for URIs, page 27:
When a URI reference refers to a URI that is, aside from its fragment component (if any), identical to the base URI (Section 5.1), that reference is called a "same-document" reference. The most frequent examples of same-document references are relative references that are empty or include only the number sign ("#") separator followed by a fragment identifier.