Question: Ok so I have a intranet webpage that I am making using HTML and I want to put a link (absolute or relative) on my page that opens a PDF. 
 The code I use is 

```
<a href="http://harold.local/documents/sandP.pdf" target="_blank">Privacy and Security</a>

```

Now what ends up happening is that I get this error:

> 
> 404 - File or directory not found. The resource you are looking for
>  might have been removed, had its name changed, or is temporarily
>  unavailable.
> 
> 
> 

Is there anything wrong with my code or where I am placing the document?

Thank You

Answer: 
The answer from ialquaz is the correct one (in my opinion), so no need to elaborate that. Instead, I'll answer you second question:

> 
> If I remove the first if statement, what would happen during the loop
>  if none of the other conditions are met?
> 
> 
> 

This depends on what your conditions are but in general, YES!

This is because the last `else` catches all the cases where none of the other conditions are met. For instance, suppose you have the following loop:

```
n = 9;
x = zeros(1,n);
for ii = 1:n
    if ii < 3
        continue;
    elseif ii > 5
        x(ii) = 4;
    else 
        x(ii) = 6;
    end
end
x =    
   0   0   6   6   6   4   4   4   4

```

As you can see, in the start, the `continue` statement makes the loop skip the last `elseif` and `else`. That means that the first 2 elements will not be touched. `elseif ii > 5` will result in all the elements higher after `ii == 6` will be set to `4`. When `ii >= 3 & ii <= 5` the `else` will catch the remaining cases, so those elements will be `6`. Now, let's have a look at what happens if we skip the first `if`: 

```
n = 9;
x = zeros(1,n);
for ii = 1:n
    if ii > 5
        x(ii) = 4;
    else 
        x(ii) = 6;
    end
end
x =
   6   6   6   6   6   4   4   4   4

```

The first three elements are not covered by the first `if` statement anymore, and are therefore caught bu the `else`.
```
for i=1:10
    if (condition) && ~(condition1)
        (do something)
    elseif ~(condition1)
        (do something)
    end
end

```

You can do it in above way as well