Half circle with CSS (border, outline only)

You could use border-top-left-radius and border-top-right-radius properties to round the corners on the box according to the box’s height (and added borders). Then add a border to top/right/left sides of the box to achieve the effect. Here you go: WORKING DEMO. Alternatively, you could add box-sizing: border-box to the box in order to calculate the … Read more

Open link in new tab or window [duplicate]

You should add the target=”_blank” and rel=”noopener noreferrer” in the anchor tag. For example: Adding rel=”noopener noreferrer” is not mandatory, but it’s a recommended security measure. More information can be found in the links below. Source: MDN | HTML element <a> | attribute target About rel=noopener Opens External Anchors Using rel=”noopener”

How am I supposed to use index.html?

Many web servers will have a ‘default document’ that is returned when you specify just a path and no file name. So browsing to http://example.com will return the default document from the document root directory of that domain. Quite often the default document can be named index.html, index.htm or -if PHP is installed- index.php, but … Read more

navigate back with PHP form submission

When you post forms with php, or any other data, you may come back to the page and find a message in the browser like “Document Expired” or “Confirm Form Resubmission With Chrome”. These messages are a safety precaution the browser uses with sensitive data such as post variables. The browser will not automatically give … Read more

What’s the difference between ” ” and ” “?

One is non-breaking space and the other is a regular space. A non-breaking space means that the line should not be wrapped at that point, just like it wouldn’t be wrapped in the middle of a word. Furthermore as Svend points out in his comment, non-breaking spaces are not collapsed.

Redirect from an HTML page

Try using: Note: Place it in the head section. Additionally for older browsers if you add a quick link in case it doesn’t refresh correctly: <p><a href=”http://example.com/”>Redirect</a></p> Will appear as Redirect This will still allow you to get to where you’re going with an additional click.

Redirect from an HTML page

Try using: Note: Place it in the head section. Additionally for older browsers if you add a quick link in case it doesn’t refresh correctly: <p><a href=”http://example.com/”>Redirect</a></p> Will appear as Redirect This will still allow you to get to where you’re going with an additional click.

How to add a browser tab icon (favicon) for a website?

There are actually two ways to add a favicon to a website. <link rel=”icon”> Simply add the following code to the <head> element: PNG favicons are supported by most browsers, except IE <= 10. For backwards compatibility, you can use ICO favicons. Note that you don’t have to precede icon in rel attribute with shortcut … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)