Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
I'm minifying my html using:
http://htmlcompressor.com/compressor.html
It leaves return characters in so instead of one single line...I get a bunch of individual lines.
Any reason why?(JS and CSS minifiers do not do this) Any experience with this for html minification? Is this a solid tool?
Newlines can affect the output, so they can't really be safely stripped from every HTML document.
For example:
<p>
Hello
World
</p>
<p>HelloWorld</p>
This gets rendered as:
Hello World
HelloWorld
Demo: http://jsfiddle.net/UTy2f/
Related
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 3 months ago.
Improve this question
I was reading an HTML parser article and noticed that they used Ragel for parsing a web page. Is it because it is more readable than using regexp or there is a different meaning behind it?
I read several things about Ragel, but they were too complex for my understanding. It would be cool if somebody gave an example of Ragel.
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 2 years ago.
Improve this question
i was wondering if there is any meta of making a 4 code input field. The type that i mean is where the input is split in 4 parts. Illustrated bellow
i was thinking of just making 4 different inputs and styling them but there an easier or more effective way?
You can use React or Angular to build simple component of designed input and replicate them, simple and clean.
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 6 years ago.
Improve this question
More specifically what I'm trying to say is, why can't we just use pure HTML for that purpose?
Jade and EJS are templating engines - they allow you to do things like conditional statements and loops, and give you the ability to break the pages into more modular components (for example, you can have one template with the header in it, and then include that in every other page without having to copy and paste the code). That said, there's nothing stopping you using pure HTML - you just won't get any of those features.
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 7 years ago.
Improve this question
I noticed that Google uses HTML table to represent their "Goooooooooogle" pagination links. Is that semantically correct way? What would be the implications if this method is used in a website?
And why would the developers use table in the first place, when inline or floating elements would give the same result?
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
Do tags like <em>,<strong>,<i> or css properties like font-size,text-decoration,font-weight have any impact on the way search engines see my site?
If you want to build sites from scratch, focus on the newest HTML version. If you want to look at older sites, yes, it's a good idea to learn older HTML tags. There are a lot of older HTML pages that are still up and running.