Live data from Hacker News

HEAD – A guide to elements

htmlhead.dev

121–129 of 129 posts

Re: HEAD – A guide to <head> elements

#121
post #77
post #64

Earlier quoted context omitted.

I use Dreamweaver all the time. It's actually a full-blooded static site generator, two decades before that was trendy. And marketing can use the visual editor to make it a content management system.

I still use a copy because no editor has a built in sftp anymore. Sublime/vs code/phpstorm are great for git projects but for remote projects you don't want to work on locally dreamweaver can't be beat. The only problem is modern code has changed syntax so dreamweaver gives warnings for valid code. I wonder if anyone has updated these.

PHPStorm and all the JetBrains IDEs have the ability to edit files directly via SFTP AFAIK.

It's under Tools > Deployment

Source: I use it daily.

Re: HEAD – A guide to <head> elements

#122
post #56
post #21

Earlier quoted context omitted.

Do what they say, not what they do! maximum-scale has only three valid uses: 1. extreme values, like 5.0, if a browser misdetects that zooming that far is useful when it isn't (rare) 2. pure-app websites like maps or video games that have alternative scaling arrangements and browser pinch-zoom gets in the way. 3. there is no number three, and the thing you are thinking of is incorrect. maximum-scale is an automatic u…

I tried to order a house online last night and I got to the "enter your email address to get your free quote" and because I couldn't zoom out, I could not see the Submit button. OMG, I thought how much money is this company losing because their website intentionally disables a built in feature!?

Who buys a whole house on the internet...?

Very odd.

Re: HEAD – A guide to <head> elements

#123

Earlier quoted context omitted.

The HTML syntax lets you omit the tag. Any start tag not in the finite list of elements will implicitly start the body and go there. I am in the head I am in the body!

HTML even lets you omit the and tags, so the following is valid and equivalent: I am in the head I am in the body I've described how this works for SGML here [1], but it also applies to HTML. [1]: http://sgmljs.net/docs/sgml-html-tutorial.html (see slides linked from TALK)

Screw it, let's abandon all markup and content: https://mathiasbynens.be/demo/css-without-html

(Explanation: https://css-tricks.com/using-css-without-html/ )

Re: HEAD – A guide to <head> elements

#124
post #51

Earlier quoted context omitted.

I'd go by W3 https://www.w3schools.com/html/html_head.asp Then again were all slaves to the whims of Alphabet and Facebooks for traffic.

W3Schools is not W3C, and is frequently inaccurate.

MDN is often a better alternative to W3Schools. They cover a lot of "web" things, not just JS docs.

Re: HEAD – A guide to <head> elements

#125
post #77
post #64

Earlier quoted context omitted.

I use Dreamweaver all the time. It's actually a full-blooded static site generator, two decades before that was trendy. And marketing can use the visual editor to make it a content management system.

I still use a copy because no editor has a built in sftp anymore. Sublime/vs code/phpstorm are great for git projects but for remote projects you don't want to work on locally dreamweaver can't be beat. The only problem is modern code has changed syntax so dreamweaver gives warnings for valid code. I wonder if anyone has updated these.

VS Code has just come out with a Microsoft team SFTP plugin. It's pretty good, search even works. Seems to fix almost all the issues I tended to get using sshfs. Recommend giving it a shot.

Side note in 2012 my boss forced me to use Dreamweaver and took a lot of persuading to let us use the new (at the time) Sublime text. Good times.

Re: HEAD – A guide to <head> elements

#126

Earlier quoted context omitted.

W3Schools is not W3C, and is frequently inaccurate.

Re: them being inaccurate: that was true many moons ago, but it seems they’ve cleaned up and are more accurate now IMHO.

They're less inaccurate than they used to be -- I'll give them that. But I still wouldn't rely on them as a source.

Re: HEAD – A guide to <head> elements

#127
post #77

Earlier quoted context omitted.

I still use a copy because no editor has a built in sftp anymore. Sublime/vs code/phpstorm are great for git projects but for remote projects you don't want to work on locally dreamweaver can't be beat. The only problem is modern code has changed syntax so dreamweaver gives warnings for valid code. I wonder if anyone has updated these.

PHPStorm and all the JetBrains IDEs have the ability to edit files directly via SFTP AFAIK. It's under Tools > Deployment Source: I use it daily.

You can deploy through sftp but you still need save the files locally. I could accept that but then you generate a laravel db migration file or config file is created through a package that was installed remotely. So your local copy doesn't have the new file. So now you have to resync the repo. Resyncing the repo from the root directory brings in the vendor packages locally so a resync could take an hour. You need to go to subfolder by subfolder resyncing if you want to avoid that.

Dreamweaver is open-edit-push back. Perfect when you have to make a change to a site and don't want all of the fiies locally.

Re: HEAD – A guide to <head> elements

#128

Earlier quoted context omitted.

It makes zero sense to specify a byte order for an encoding in which it is irrelevant. It only persists because of a lazy vendor that can't encode Unicode correctly.

It would have been nice if every well-encoded Unicode document started with BOM and every legacy doc did not, instead of having to guess whether a doc is more likely UTF-8 or Latin-1.

Then concatenating to valid Unicode documents would no longer be valid Unicode. That is bad. And ASCII text would no longer be a valid UTF-8 encoded Unicode document. That is bad. And even when everything has finally switched to UTF-8 every tool ever will still need to handle the BOM. That is bad.

Guessing between valid UTF-8 and Latin-1 is only ever ambiguous when there are multiple non-ASCII characters in a row and all those sequences are made up of a lead byte with the correct number of trailing bytes. How often is that a problem for you in practice?

Re: HEAD – A guide to <head> elements

#129
post #77
post #64

Earlier quoted context omitted.

I use Dreamweaver all the time. It's actually a full-blooded static site generator, two decades before that was trendy. And marketing can use the visual editor to make it a content management system.

I still use a copy because no editor has a built in sftp anymore. Sublime/vs code/phpstorm are great for git projects but for remote projects you don't want to work on locally dreamweaver can't be beat. The only problem is modern code has changed syntax so dreamweaver gives warnings for valid code. I wonder if anyone has updated these.

BBEdit does if you happen to be a Mac user.
Post reply on HN