properties should be named arguments like such:

```julia
function create_tag(; properties...)
    #code goes here
    for (k,v) in properties
        setproperty!(tag, k, v)
    end
end
```