//技術記事
How can I make Java print quotes, like “Hello”?
System.out.print(“\”Hello\””); The double quote character has to be escaped with a backslash in a Java string literal. Other characters that need special treatment include: Carriage return and newline: “\r” and “\n” Backslash: “\\” Single quote: “\’” Horizontal tab and form feed: “\t” and “\f”
もっと見る- 33 ビュー
- 0 コメント
PHP isset() vs empty() vs is_null()
Credit: https://techtalk.virendrachandak.com/php-isset-vs-empty-vs-is_null/ PHP has different functions which can be used to test the value of a variable. Three useful functions for this are isset(), empty() and is_null(). All these function return a boolean value. If these functions are not used in correct way they can cause unexpected results. isset() and empty() are often viewed as functions that are opposite,..
もっと見る- 84 ビュー
- 0 コメント
CSS Font-Size: em vs. px vs. pt vs. percent
One of the most confusing aspects of CSS styling is the application of the font-size attribute for text scaling. In CSS, you’re given four different units by which you can measure the size of text as it’s displayed in the web browser. Which of these four units is best suited for the web? It’s a..
もっと見る- 62 ビュー
- 0 コメント
Absolute, Relative, Fixed Positioning: How Do They Differ?
Short answer: Yes, there is one more, “static”, which is the default. Yes, they majorly differ. Each of them is incredibily useful and which you should use of course depends on the desired result. Also, don’t forget about float, which is an important part of positioning. Medium answer: I’m not going to do a “long answer” because there..
もっと見る- 55 ビュー
- 0 コメント
What is Ajax
What is AJAX? AJAX = Asynchronous JavaScript and XML. In short; AJAX is about loading data in the background and display it on the webpage, without reloading the whole page. Examples of applications using AJAX: Gmail, Google Maps, Youtube, and Facebook tabs. You can learn more about AJAX in our AJAX tutorial. What About jQuery and..
もっと見る- 47 ビュー
- 0 コメント